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_black3d/CONTROL/preinst

    r11450 r11782  
    2727echo "swapstick found...."
    2828
    29 echo "installing swap Picons for Titan..."
    3029
    3130if [ -e /var/swap/titanpicons ]; then
     
    3433fi
    3534
     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
     45
     46echo "installing swap Picons for Titan..."
     47
    3648rm -rf /var/usr/local/share/titan/picons
    3749ln -s /var/swap/titanpicons /var/usr/local/share/titan/picons
Note: See TracChangeset for help on using the changeset viewer.