Changeset 23349


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

fix

File:
1 edited

Legend:

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

    r23316 r23349  
    2929        echo "syncing disk"
    3030        sync
    31 else   
    32         SPACE=`getfreespace "$INSTDIR"`
    33         FREE=`expr $SPACE - 100`
    34         SIZE=936
    35         echo "checking freespace"
    36         echo packege size $SIZE kb
    37         echo freespace size $FREE kb
    38         if  [ "$FREE" -lt "$SIZE" ]; then
    39                 echo "sorry no freespace left on device"
    40                 exit 1
    41         else
    42                 echo ok         
    43         fi
    4431fi
    4532
Note: See TracChangeset for help on using the changeset viewer.