source: ipk/source/picons_HD_astra19.2_1_0/CONTROL/preinst@ 3783

Last change on this file since 3783 was 3783, checked in by civer, 16 years ago

[IPK]

  • added 3d HD Picons for Astra19.2
  • forbid installing "swapnetwork" IPKs on UFS912...still in the image...!
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/sh
2#
3TMP=/tmp/.picon
4echo "syncing disk"
5sync
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
20
21if [ -e /etc/.fullusb ] || [ -e /etc/.usbimage ]; then
22 echo "detected USB Image...."
23 echo "ok..."
24elif [ "$model" = "ufs912" ]; then
25 echo "detected Boxtype : $model...."
26 echo "ok..."
27else
28 if [ `ls -la /var/usr/local/share/enigma2 | grep "/var/swap/picon" | wc -l` -ge 1 ]; then
29 echo "check ok installing to swapstick...."
30 else
31 echo "ERROR: this package won`t fit in your flash..."
32 echo "...you need a swapstick to install the package on your $model...!"
33 echo "aborting installation..."
34 exit 1
35 fi
36fi
37
38
39echo "installing hd picons for Astra 19.2..."
40echo "checking OS"
41if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then
42 echo ---------------------------
43 echo DONT USE this IPK Package!!
44 echo ---
45 echo Only for AAF Image!!
46 echo ---------------------------
47 exit 1
48fi
49exit 0
Note: See TracBrowser for help on using the repository browser.