Changeset 23365 for ipk/source/fonts_actionmanitalic_1_0/CONTROL
- Timestamp:
- Sep 7, 2013, 1:37:07 PM (13 years ago)
- Location:
- ipk/source/fonts_actionmanitalic_1_0/CONTROL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
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"
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)