Ignore:
Timestamp:
Jul 31, 2010, 8:06:33 PM (16 years ago)
Author:
civer
Message:

[IPK /oreinst ]

  • added boxtype check to preinst (finished)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/swapskins_InfinityTV-HD_1_1/CONTROL/preinst

    r1660 r3682  
    44echo "syncing disk"
    55sync
     6
     7model=`cat /etc/model`
     8echo""
     9echo "Checking your Boxtype...."
     10echo "Some Plugins will not work correctly on your $model!"
     11echo ""
     12if [ "$model" = "" ]; then
     13        echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
     14        echo "Aborting installation..."
     15        exit 1
     16else
     17        echo "Boxtype: $model OK"
     18fi
     19
    620echo "checking swapstick"
    721if [ ! -d /var/swap/skins/ ]; then
Note: See TracChangeset for help on using the changeset viewer.