Changeset 23366
- Timestamp:
- Sep 7, 2013, 1:42:36 PM (13 years ago)
- Location:
- ipk/source.sh4
- Files:
-
- 8 edited
- 1 moved
-
swapemus_oscam_6089/CONTROL/postinst (modified) (1 diff)
-
swapemus_oscam_6089/CONTROL/postrm (modified) (1 diff)
-
swapemus_oscam_6089/CONTROL/preinst (modified) (1 diff)
-
swapemus_oscam_6089/CONTROL/prerm (modified) (1 diff)
-
titangames_catcatch/CONTROL/postinst (modified) (1 diff)
-
titangames_catcatch/CONTROL/postrm (modified) (1 diff)
-
titangames_catcatch/CONTROL/preinst (modified) (2 diffs)
-
titangames_catcatch/CONTROL/prerm (modified) (1 diff)
-
titangames_catcatch/_path_ (moved) (moved from ipk/source.sh4/titangames_catcatch/var )
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/swapemus_oscam_6089/CONTROL/postinst
r23316 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.oscam3 2 INSTDIR="$1" 4 3 -
ipk/source.sh4/swapemus_oscam_6089/CONTROL/postrm
r23323 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.oscam3 2 INSTDIR="$1" 4 3 -
ipk/source.sh4/swapemus_oscam_6089/CONTROL/preinst
r23349 r23366 1 1 #!/bin/sh 2 #3 TMP=/tmp/.oscam4 2 INSTDIR="$1" 5 3 -
ipk/source.sh4/swapemus_oscam_6089/CONTROL/prerm
r23298 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.oscam3 2 INSTDIR="$1" 4 3 -
ipk/source.sh4/titangames_catcatch/CONTROL/postinst
r16975 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.games 2 INSTDIR="$1" 3 3 4 echo "successfully installed" 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` 4 if [ "/var/swap" == "$INSTDIR" ]; then 5 echo "syncing disk" 6 sync 7 else 8 SPACE=`getfreespace "$INSTDIR"` 7 9 FREE=`expr $SPACE - 100` 8 10 echo new freespace size $FREE kb 9 else10 echo "syncing disk"11 sync12 11 fi 13 12 exit 0 -
ipk/source.sh4/titangames_catcatch/CONTROL/postrm
r16975 r23366 1 1 #!/bin/sh 2 TMP=/tmp/.games 3 PLUGINDIR=/var/usr/local/share/titan/plugins/catcatch 4 rm -r $PLUGINDIR > /dev/null 2>&1 2 INSTDIR="$1" 5 3 6 4 echo "successfully removed" 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 11 else12 echo "syncing disk"13 sync14 12 fi 15 13 exit 0 -
ipk/source.sh4/titangames_catcatch/CONTROL/preinst
r16975 r23366 1 1 #!/bin/sh 2 # 3 TMP=/tmp/.games 2 INSTDIR="$1" 4 3 5 4 model=`cat /etc/model` … … 17 16 18 17 echo "install catcatch Plugin ..." 19 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 21 FREE=`expr $SPACE - 100` 22 SIZE=15 23 echo "checking freespace" 24 echo packege size $SIZE kb 25 echo freespace size $FREE kb 26 if [ "$FREE" -lt "$SIZE" ]; then 27 echo "sorry no freespace left on device" 28 exit 1 29 else 30 echo ok 31 fi 32 else 18 if [ "/var/swap" == "$INSTDIR" ]; then 33 19 echo "syncing disk" 34 20 sync 35 21 fi 22 36 23 buildgroup=`cat /etc/.buildgroup` 37 24 echo "checking OS" -
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)