Changeset 23353 for ipk/source


Ignore:
Timestamp:
Sep 7, 2013, 11:31:48 AM (13 years ago)
Author:
nit
Message:

[titan] update bootlogo and font plugin for new tpk install

Location:
ipk/source
Files:
4 edited

Legend:

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

    r23205 r23353  
    1010Description: Bootlogo "Bikergirl" for your AAF- Duckbox
    1111Showname: Bikergirl
     12Usepath: /var
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/preinst

    r12551 r23353  
    1616else
    1717        echo "Boxtype: $model OK"
    18 fi
    19 
    20 if [ `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`
    22         FREE=`expr $SPACE - 100`
    23         SIZE=56
    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
    3318fi     
    3419
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/control

    r23205 r23353  
    1111Source: http://www.aaf-digital.info
    1212Showname: Action Man Italic
     13Usepath: /var
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst

    r12422 r23353  
    1616else
    1717        echo "Boxtype: $model OK"
    18 fi
    19 
    20 if [ `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`
    22         FREE=`expr $SPACE - 100`
    23         SIZE=49
    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
    3318fi
    3419
Note: See TracChangeset for help on using the changeset viewer.