Ignore:
Timestamp:
Nov 28, 2011, 12:30:48 PM (14 years ago)
Author:
obi
Message:

[ipk] add new BUILDGROUP check

File:
1 edited

Legend:

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

    r11451 r11765  
    3333fi   
    3434echo "installing gbox and configs..."
    35 
     35buildgroup=`cat /etc/.buildgroup`
     36echo "checking OS"       
     37if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
     38        echo ---------------------------                 
     39        echo DONT USE this IPK Package!!                 
     40        echo ---                 
     41        echo Only for $buildgroup Image!!               
     42        echo ---------------------------                 
     43        exit 1           
     44fi
    3645
    3746sync
Note: See TracChangeset for help on using the changeset viewer.