source: ipk/source.sh4/feed_neutrino/CONTROL/preinst @ 10624

Last change on this file since 10624 was 10617, checked in by madie, 11 years ago

{ipk] build feeds ipk

File size: 734 bytes
Line 
1#!/bin/sh
2#
3TMP=/tmp/.feeds
4echo "syncing disk"
5sync
6
7rm -r /var/etc/ipkg/official-feed.conf
8
9model=`cat /etc/model`
10echo""
11echo "Checking your Boxtype...."
12echo "Some Plugins will not work correctly on your $model!"
13echo ""
14if [ "$model" = "" ]; then
15        echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
16        echo "Aborting installation..."
17        exit 1
18else
19        echo "Boxtype: $model OK"
20fi
21
22
23echo "installing new Downloadfeed for Enigma2 Plugins"
24echo "checking OS"
25if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then
26        echo ---------------------------
27        echo DONT USE this IPK Package!!
28        echo ---
29        echo Only for AAF Image!!
30        echo ---------------------------
31        exit 1
32fi
33
34exit 0
Note: See TracBrowser for help on using the repository browser.