Changeset 23354


Ignore:
Timestamp:
Sep 7, 2013, 11:33:10 AM (7 years ago)
Author:
nit
Message:

[titan] update radiologo for new tpk

Location:
ipk/source/radiologos_aafmode_0_1/CONTROL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/radiologos_aafmode_0_1/CONTROL/control

    r23205 r23354  
    1010Description: Radiologo "AAF Mode" for Radiomode
    1111Showname: AAF Mode
     12Usepath: /var
  • ipk/source/radiologos_aafmode_0_1/CONTROL/preinst

    r11794 r23354  
    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`
    22         FREE=`expr $SPACE - 100`
    23         SIZE=60
    24         echo "checking freespace"
    25         echo packege size $SIZE kb
    26         echo freespace size $FREE kb
    27         if  [ "$FREE" -lt "$SIZE" ]; then
    28                 echo "sorry no freespace left on device"
    29                 exit 1
    30         else
    31                 echo ok
    32         fi
    33 fi
    3420echo "installing radiologo ..."
    3521buildgroup=`cat /etc/.buildgroup`
Note: See TracChangeset for help on using the changeset viewer.