Changeset 2927 for ipk/runipk.sh


Ignore:
Timestamp:
Apr 15, 2010, 4:18:07 PM (16 years ago)
Author:
obi
Message:

[ipk] add sub proc check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/runipk.sh

    r2923 r2927  
    1010SVNPORT=$5
    1111MAKETYPE=$6
     12
     13if [ `which ipkg-build | wc -l` -eq 0 ]; then
     14        echo "[make-flash] install ipkg-build this is in ipkg-utils-050831.tgz"
     15        exit
     16elif [ `which ipkg-make-index | wc -l` -eq 0 ] && [ "$SWTYPE" = "enigma2" ] ; then
     17        echo "[make-flash] install ipkg-make-index this is in ipkg-utils-050831.tgz"
     18        exit
     19elif [ `which gzip | wc -l` -eq 0 ]; then
     20        echo "[make-flash] install gzip | apt-get install gzip"
     21        exit
     22elif [ `which wput | wc -l` -eq 0 ]; then
     23        echo "[make-flash] install wput | apt-get install wput v0.6.2"
     24        exit
     25fi
    1226
    1327if [ $# -ne 6 ]; then
Note: See TracChangeset for help on using the changeset viewer.