Changeset 23365


Ignore:
Timestamp:
Sep 7, 2013, 1:37:07 PM (7 years ago)
Author:
nit
Message:

fix

Location:
ipk/source
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/preinst

    r23353 r23365  
    11#!/bin/sh
    2 #
    3 TMP=/tmp/.bootlogos
    4 echo "syncing disk"
    5 sync
     2INSTDIR="$1"
     3
     4if [ "/var/swap" == "$INSTDIR" ]; then
     5        echo "syncing disk"
     6        sync
     7fi
    68
    79model=`cat /etc/model`
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/postinst

    r12422 r23365  
    11#!/bin/sh
    2 TMP=/tmp/.fonts
    3 echo "successfully installed"
    4 echo "syncing disk"
    5 sync
    6 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    7         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
     2INSTDIR="$1"
     3
     4echo "successfully removed"
     5if [ "/var/swap" == "$INSTDIR" ]; then
     6        echo "syncing disk"
     7        sync
     8else
     9        SPACE=`getfreespace "$INSTDIR"`
    810        FREE=`expr $SPACE - 100`
    911        echo new freespace size $FREE kb
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/postrm

    r12422 r23365  
    11#!/bin/sh
    2 TMP=/tmp/.fonts
     2INSTDIR="$1"
    33
    44echo "successfully removed"
    5 echo "syncing disk"
    6 sync
    7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    8         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
     5if [ "/var/swap" == "$INSTDIR" ]; then
     6        echo "syncing disk"
     7        sync
     8else
     9        SPACE=`getfreespace "$INSTDIR"`
    910        FREE=`expr $SPACE - 100`
    1011        echo new freespace size $FREE kb
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst

    r23353 r23365  
    11#!/bin/sh
    2 #
    3 TMP=/tmp/.fonts
    4 echo "syncing disk"
    5 sync
     2INSTDIR="$1"
     3
     4if [ "/var/swap" == "$INSTDIR" ]; then
     5        echo "syncing disk"
     6        sync
     7fi
    68
    79model=`cat /etc/model`
     
    2931fi 
    3032
    31         echo "installing font ..."
     33echo "installing font ..."
    3234exit 0
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm

    r12422 r23365  
    11#!/bin/sh
    2 TMP=/tmp/.fonts
    3 echo "syncing disk"
    4 sync
    5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    6         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
     2INSTDIR="$1"
     3
     4echo "rename original.jpg -> bootlogo.jpg"
     5mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg
     6
     7echo "successfully removed"
     8if [ "/var/swap" == "$INSTDIR" ]; then
     9        echo "syncing disk"
     10        sync
     11else
     12        SPACE=`getfreespace "$INSTDIR"`
    713        FREE=`expr $SPACE - 100`
    8         echo freespace size $FREE kb
     14        echo new freespace size $FREE kb
    915fi
    1016echo "removing font"
  • ipk/source/radiologos_aafmode_0_1/CONTROL/postinst

    r7451 r23365  
    11#!/bin/sh
    2 TMP=/tmp/.radiologos
    3 echo "successfully installed"
    4 echo "syncing disk"
    5 sync
    6 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    7         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     2INSTDIR="$1"
     3
     4echo "successfully removed"
     5if [ "/var/swap" == "$INSTDIR" ]; then
     6        echo "syncing disk"
     7        sync
     8else
     9        SPACE=`getfreespace "$INSTDIR"`
    810        FREE=`expr $SPACE - 100`
    911        echo new freespace size $FREE kb
  • ipk/source/radiologos_aafmode_0_1/CONTROL/postrm

    r7451 r23365  
    11#!/bin/sh
    2 TMP=/tmp/.radiologos
     2INSTDIR="$1"
     3
    34echo "successfully removed"
    4 echo "syncing disk"
    5 sync
    6 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    7         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     5if [ "/var/swap" == "$INSTDIR" ]; then
     6        echo "syncing disk"
     7        sync
     8else
     9        SPACE=`getfreespace "$INSTDIR"`
    810        FREE=`expr $SPACE - 100`
    911        echo new freespace size $FREE kb
  • ipk/source/radiologos_aafmode_0_1/CONTROL/preinst

    r23354 r23365  
    11#!/bin/sh
    2 #
    3 TMP=/tmp/.radiologos
    4 echo "syncing disk"
    5 sync
     2INSTDIR="$1"
     3
     4if [ "/var/swap" == "$INSTDIR" ]; then
     5        echo "syncing disk"
     6        sync
     7fi
    68
    79model=`cat /etc/model`
     
    2931        exit 1           
    3032fi
    31 rm -rf /var/usr/local/share/enigma2/radio.mvi
     33rm -rf /var/usr/local/share/titan/radio.mvi
    3234exit 0
  • ipk/source/radiologos_aafmode_0_1/CONTROL/prerm

    r7451 r23365  
    11#!/bin/sh
    2 #
    3 TMP=/tmp/.radiologos
    4 echo "syncing disk"
    5 sync
    6 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    7         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     2INSTDIR="$1"
     3
     4echo "rename original.jpg -> bootlogo.jpg"
     5mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg
     6
     7echo "successfully removed"
     8if [ "/var/swap" == "$INSTDIR" ]; then
     9        echo "syncing disk"
     10        sync
     11else
     12        SPACE=`getfreespace "$INSTDIR"`
    813        FREE=`expr $SPACE - 100`
    9         echo freespace size $FREE kb
     14        echo new freespace size $FREE kb
    1015fi
    1116echo "removing radiologo"
Note: See TracChangeset for help on using the changeset viewer.