Changeset 3785 for ipk/source


Ignore:
Timestamp:
Aug 16, 2010, 3:11:34 PM (16 years ago)
Author:
civer
Message:

test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/picons_HD_astra19.2_1_0/CONTROL/preinst

    r3783 r3785  
    1818fi
    1919
    20 
    21 if [ -e /etc/.fullusb ] || [ -e /etc/.usbimage ]; then
    22         echo "detected USB Image...."
    23         echo "ok..."
    24 elif [ "$model" = "ufs912" ]; then
    25         echo "detected Boxtype : $model...."
    26         echo "ok..."
    27 else
    28         if [ `ls -la /var/usr/local/share/enigma2 | grep "/var/swap/picon" | wc -l` -ge 1 ]; then
    29                 echo "check ok installing to swapstick...."
    30         else
    31                 echo "ERROR: this package won`t fit in your flash..."
    32                 echo "...you need a swapstick to install the package on your $model...!"
    33                 echo "aborting installation..."
    34                 exit 1
    35         fi
    36 fi
    37 
     20#if [ -e /etc/.fullusb ] || [ -e /etc/.usbimage ]; then
     21#       echo "detected USB Image...."
     22#       echo "ok..."
     23#elif [ "$model" = "ufs912" ]; then
     24#       echo "detected Boxtype : $model...."
     25#       echo "ok..."
     26#else
     27#       if [ `ls -la /var/usr/local/share/enigma2 | grep "/var/swap/picon" | wc -l` -ge 1 ]; then
     28#               echo "check ok installing to swapstick...."
     29#       else
     30#               echo "ERROR: this package won`t fit in your flash..."
     31#               echo "...you need a swapstick to install the package on your $model...!"
     32#               echo "aborting installation..."
     33#               exit 1
     34#       fi
     35#fi
    3836
    3937echo "installing hd picons for Astra 19.2..."
    4038echo "checking OS"
    41 if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then
     39if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then
    4240        echo ---------------------------
    4341        echo DONT USE this IPK Package!!
Note: See TracChangeset for help on using the changeset viewer.