Changeset 23366 for ipk/source.sh4/titangames_catcatch/CONTROL/prerm
- Timestamp:
- Sep 7, 2013, 1:42:36 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/titangames_catcatch/CONTROL/prerm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titangames_catcatch/CONTROL/prerm
r16975 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.games 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 2 INSTDIR="$1" 3 4 if [ "/var/swap" == "$INSTDIR" ]; then 5 echo "syncing disk" 6 sync 7 else 8 SPACE=`getfreespace "$INSTDIR"` 5 9 FREE=`expr $SPACE - 100` 6 10 echo new freespace size $FREE kb 7 else8 echo "syncing disk"9 sync10 11 fi 11 12 echo "removing catcatch Plugin"
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)