Ignore:
Timestamp:
Dec 7, 2011, 11:58:44 AM (14 years ago)
Author:
madie
Message:

[ipk] update crossepg

Location:
ipk/source.sh4/swapepg_crossepg
Files:
1 edited
1 moved

Legend:

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

    r11789 r12090  
    2525        exit 1
    2626fi
    27 echo "swapstick found...."
     27echo "swapstick found...." 
    2828
    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=307
    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 CrossEPG 0.61 for Swapstick..."
    4429buildgroup=`cat /etc/.buildgroup`
    4530echo "checking OS"       
     
    5237        exit 1           
    5338fi
     39
     40echo "installing CrossEPG for Swapstick..."
     41sync
     42
    5443exit 0
Note: See TracChangeset for help on using the changeset viewer.