Changeset 12090 for ipk/source.sh4/swapepg_crossepg/CONTROL/preinst
- Timestamp:
- Dec 7, 2011, 11:58:44 AM (14 years ago)
- Location:
- ipk/source.sh4/swapepg_crossepg
- Files:
-
- 1 edited
- 1 moved
-
. (moved) (moved from ipk/source.sh4/swapepg_crossepg_0_61 )
-
CONTROL/preinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/swapepg_crossepg/CONTROL/preinst
r11789 r12090 25 25 exit 1 26 26 fi 27 echo "swapstick found...." 27 echo "swapstick found...." 28 28 29 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then30 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`31 FREE=`expr $SPACE - 100`32 SIZE=30733 echo "checking freespace"34 echo packege size $SIZE kb35 echo freespace size $FREE kb36 if [ "$FREE" -lt "$SIZE" ]; then37 echo "sorry no freespace left on device"38 exit 139 else40 echo ok41 fi42 fi43 echo "installing CrossEPG 0.61 for Swapstick..."44 29 buildgroup=`cat /etc/.buildgroup` 45 30 echo "checking OS" … … 52 37 exit 1 53 38 fi 39 40 echo "installing CrossEPG for Swapstick..." 41 sync 42 54 43 exit 0
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)