Changeset 23365
- Timestamp:
- Sep 7, 2013, 1:37:07 PM (13 years ago)
- Location:
- ipk/source
- Files:
-
- 9 edited
-
bootlogos_bikergirl_0_1/CONTROL/preinst (modified) (1 diff)
-
fonts_actionmanitalic_1_0/CONTROL/postinst (modified) (1 diff)
-
fonts_actionmanitalic_1_0/CONTROL/postrm (modified) (1 diff)
-
fonts_actionmanitalic_1_0/CONTROL/preinst (modified) (2 diffs)
-
fonts_actionmanitalic_1_0/CONTROL/prerm (modified) (1 diff)
-
radiologos_aafmode_0_1/CONTROL/postinst (modified) (1 diff)
-
radiologos_aafmode_0_1/CONTROL/postrm (modified) (1 diff)
-
radiologos_aafmode_0_1/CONTROL/preinst (modified) (2 diffs)
-
radiologos_aafmode_0_1/CONTROL/prerm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/bootlogos_bikergirl_0_1/CONTROL/preinst
r23353 r23365 1 1 #!/bin/sh 2 # 3 TMP=/tmp/.bootlogos 4 echo "syncing disk" 5 sync 2 INSTDIR="$1" 3 4 if [ "/var/swap" == "$INSTDIR" ]; then 5 echo "syncing disk" 6 sync 7 fi 6 8 7 9 model=`cat /etc/model` -
ipk/source/fonts_actionmanitalic_1_0/CONTROL/postinst
r12422 r23365 1 1 #!/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` 2 INSTDIR="$1" 3 4 echo "successfully removed" 5 if [ "/var/swap" == "$INSTDIR" ]; then 6 echo "syncing disk" 7 sync 8 else 9 SPACE=`getfreespace "$INSTDIR"` 8 10 FREE=`expr $SPACE - 100` 9 11 echo new freespace size $FREE kb -
ipk/source/fonts_actionmanitalic_1_0/CONTROL/postrm
r12422 r23365 1 1 #!/bin/sh 2 TMP=/tmp/.fonts 2 INSTDIR="$1" 3 3 4 4 echo "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` 5 if [ "/var/swap" == "$INSTDIR" ]; then 6 echo "syncing disk" 7 sync 8 else 9 SPACE=`getfreespace "$INSTDIR"` 9 10 FREE=`expr $SPACE - 100` 10 11 echo new freespace size $FREE kb -
ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst
r23353 r23365 1 1 #!/bin/sh 2 # 3 TMP=/tmp/.fonts 4 echo "syncing disk" 5 sync 2 INSTDIR="$1" 3 4 if [ "/var/swap" == "$INSTDIR" ]; then 5 echo "syncing disk" 6 sync 7 fi 6 8 7 9 model=`cat /etc/model` … … 29 31 fi 30 32 31 echo "installing font ..."33 echo "installing font ..." 32 34 exit 0 -
ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm
r12422 r23365 1 1 #!/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` 2 INSTDIR="$1" 3 4 echo "rename original.jpg -> bootlogo.jpg" 5 mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg 6 7 echo "successfully removed" 8 if [ "/var/swap" == "$INSTDIR" ]; then 9 echo "syncing disk" 10 sync 11 else 12 SPACE=`getfreespace "$INSTDIR"` 7 13 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb14 echo new freespace size $FREE kb 9 15 fi 10 16 echo "removing font" -
ipk/source/radiologos_aafmode_0_1/CONTROL/postinst
r7451 r23365 1 1 #!/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` 2 INSTDIR="$1" 3 4 echo "successfully removed" 5 if [ "/var/swap" == "$INSTDIR" ]; then 6 echo "syncing disk" 7 sync 8 else 9 SPACE=`getfreespace "$INSTDIR"` 8 10 FREE=`expr $SPACE - 100` 9 11 echo new freespace size $FREE kb -
ipk/source/radiologos_aafmode_0_1/CONTROL/postrm
r7451 r23365 1 1 #!/bin/sh 2 TMP=/tmp/.radiologos 2 INSTDIR="$1" 3 3 4 echo "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` 5 if [ "/var/swap" == "$INSTDIR" ]; then 6 echo "syncing disk" 7 sync 8 else 9 SPACE=`getfreespace "$INSTDIR"` 8 10 FREE=`expr $SPACE - 100` 9 11 echo new freespace size $FREE kb -
ipk/source/radiologos_aafmode_0_1/CONTROL/preinst
r23354 r23365 1 1 #!/bin/sh 2 # 3 TMP=/tmp/.radiologos 4 echo "syncing disk" 5 sync 2 INSTDIR="$1" 3 4 if [ "/var/swap" == "$INSTDIR" ]; then 5 echo "syncing disk" 6 sync 7 fi 6 8 7 9 model=`cat /etc/model` … … 29 31 exit 1 30 32 fi 31 rm -rf /var/usr/local/share/ enigma2/radio.mvi33 rm -rf /var/usr/local/share/titan/radio.mvi 32 34 exit 0 -
ipk/source/radiologos_aafmode_0_1/CONTROL/prerm
r7451 r23365 1 1 #!/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` 2 INSTDIR="$1" 3 4 echo "rename original.jpg -> bootlogo.jpg" 5 mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg 6 7 echo "successfully removed" 8 if [ "/var/swap" == "$INSTDIR" ]; then 9 echo "syncing disk" 10 sync 11 else 12 SPACE=`getfreespace "$INSTDIR"` 8 13 FREE=`expr $SPACE - 100` 9 echo freespace size $FREE kb14 echo new freespace size $FREE kb 10 15 fi 11 16 echo "removing radiologo"
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)