Ignore:
Timestamp:
Dec 17, 2011, 6:59:08 PM (14 years ago)
Author:
obi
Message:

[ipk] fix titan free check

File:
1 edited

Legend:

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

    r11782 r12395  
    1818fi
    1919
    20 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    21         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     20if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
     21        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    2222        FREE=`expr $SPACE - 100`
    2323        SIZE=550
Note: See TracChangeset for help on using the changeset viewer.