Changeset 3786


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

[IPK]

  • fixed error
File:
1 edited

Legend:

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

    r3785 r3786  
    1818fi
    1919
    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
     20if [ -e /etc/.fullusb ] || [ -e /etc/.usbimage ]; then
     21        echo "detected USB Image...."
     22        echo "ok..."
     23elif [ "$model" = "ufs912" ]; then
     24        echo "detected Boxtype : $model...."
     25        echo "ok..."
     26else
     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 will not 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
     35fi
    3636
    3737echo "installing hd picons for Astra 19.2..."
Note: See TracChangeset for help on using the changeset viewer.