Ignore:
Timestamp:
Dec 11, 2011, 3:10:33 PM (14 years ago)
Author:
madie
Message:

[ipk] update cooltvguide for swap

Location:
ipk/source.sh4/swapepg_cooltvguide
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/swapepg_cooltvguide/CONTROL/preinst

    r11789 r12231  
    2626fi
    2727echo "swapstick found...."
    28 
    29 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    30         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
    31         FREE=`expr $SPACE - 100`
    32         SIZE=700
    33         echo "checking freespace"
    34         echo packege size $SIZE kb
    35         echo freespace size $FREE kb
    36         if  [ "$FREE" -lt "$SIZE" ]; then
    37                 echo "sorry no freespace left on device"
    38                 exit 1
    39         else
    40                 echo ok
    41         fi
    42 fi   
    43 echo "installing CoolTVPlugin ..."
     28   
    4429buildgroup=`cat /etc/.buildgroup`
    4530echo "checking OS"       
     
    5237        exit 1           
    5338fi
     39echo "installing CoolTVPlugin ..."
     40sync
    5441exit 0
Note: See TracChangeset for help on using the changeset viewer.