Changeset 23370 for ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst
- Timestamp:
- Sep 7, 2013, 2:14:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst
r23365 r23370 1 1 #!/bin/sh 2 INSTDIR="$1"3 4 if [ "/var/swap" == "$INSTDIR" ]; then5 echo "syncing disk"6 sync7 fi8 9 model=`cat /etc/model`10 echo""11 echo "Checking your Boxtype...."12 echo "Some Plugins will not work correctly on your $model!"13 echo ""14 if [ "$model" = "" ]; then15 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"16 echo "Aborting installation..."17 exit 118 else19 echo "Boxtype: $model OK"20 fi21 22 buildgroup=`cat /etc/.buildgroup`23 echo "checking OS"24 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then25 echo ---------------------------26 echo DONT USE this IPK Package!!27 echo ---28 echo Only for $buildgroup Image!!29 echo ---------------------------30 exit 131 fi32 2 33 3 echo "installing font ..."
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)