Ignore:
Timestamp:
Nov 28, 2011, 5:57:28 PM (14 years ago)
Author:
madie
Message:

[ipk] add new BUILDGROUP check

File:
1 edited

Legend:

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

    r11450 r11782  
    2727echo "swapstick found...."
    2828
     29buildgroup=`cat /etc/.buildgroup`
     30echo "checking OS"       
     31if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
     32        echo ---------------------------                 
     33        echo DONT USE this IPK Package!!                 
     34        echo ---                 
     35        echo Only for $buildgroup Image!!               
     36        echo ---------------------------                 
     37        exit 1           
     38fi
     39
    2940echo "installing swap Picons for Titan..."
    3041
Note: See TracChangeset for help on using the changeset viewer.