Changeset 23707 for ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL
- Timestamp:
- Sep 13, 2013, 11:05:08 AM (13 years ago)
- Location:
- ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/control
r23179 r23707 1 Package: titan-plugin-lcdsamsungskins-PICONS.320x2401 Package: plugin-lcdsamsungskins-PICONS.320x240 2 2 Version: 1.0 3 Architecture: sh4 4 OE: Picons 3 Description: Picons für die Samsung LCD Skins mit 320x240 5 4 Section: lcdsamsungskins 6 5 Priority: optional 7 Maintainer: AAF 6 Maintainer: AAF Forum 7 Architecture: sh4 8 OE: Skin fuer Samsung LCD 8 9 Homepage: http://www.aaf-digital.info 10 Depends: 9 11 Source: http://www.aaf-digital.info 10 Description: 320x240 Alternative Picons for tiTan - Samsung LCD. 11 Showname: LCD Samsung Skin Picons 320x240 12 Showname: LCD Samsung PICON 320x240 13 Group: 201 -
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/postinst
r21391 r23707 1 1 #!/bin/sh 2 TMP=/tmp/.picon 3 echo "successfully installed" 4 link=`readlink /var/swap` 5 if [ -z $link ]; then 6 link="kein link" 2 INSTDIR="$1" 3 4 if [ $INSTDIR != "/var" ]; then 5 ln -s $INSTDIR/usr/local/share/titan/picons/alternate /mnt/swapextensions/usr/local/share/titan/picons/alternate 7 6 fi 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 10 FREE=`expr $SPACE - 100` 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 15 fi 7 8 mv /tmp/plugins/lcdsamsung/skin.xml /var/usr/local/share/titan/plugins/lcdsamsung/skin.xml 9 16 10 exit 0 -
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/postrm
r21381 r23707 1 1 #!/bin/sh 2 TMP=/tmp/.picon 2 INSTDIR="$1" 3 3 4 echo "successfully removed" 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 4 rm -rf /mnt/swapextensions/usr/local/share/titan/picons/alternate 5 mv "/var/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml" "/var/usr/local/share/titan/plugins/lcdsamsung/skin.xml" 6 mv /mnt/swapextensions/usr/local/share/titan/picons/alternate_sich_samsung /mnt/swapextensions/usr/local/share/titan/picons/alternate 7 14 8 exit 0 -
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/preinst
r23060 r23707 1 1 #!/bin/sh 2 # 3 TMP=/tmp/.picon 2 INSTDIR="$1" 4 3 5 model=`cat /etc/model` 6 echo"" 7 echo "Checking your Boxtype...." 8 echo "Some Plugins will not work correctly on your $model!" 9 echo "" 10 if [ "$model" = "" ]; then 11 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!" 12 echo "Aborting installation..." 13 exit 1 14 else 15 echo "Boxtype: $model OK" 4 if [ ! -d /var/usr/local/share/titan/plugins/lcdsamsung ]; then 5 echo "ERROR .... lcdpearl not installed" 6 exit 1 16 7 fi 17 8 18 echo "checking swapstick" 19 if [ ! -d /var/swap/bin/ ]; then 20 echo "--------------------------" 21 echo "no swapstick found...." 22 echo "--------------------------" 23 exit 1 24 fi 25 echo "swapstick found...." 26 link=`readlink /var/swap` 27 if [ -z $link ]; then 28 link="kein link" 29 fi 30 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 31 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 32 FREE=`expr $SPACE - 100` 33 SIZE=16300 34 echo "checking freespace" 35 echo packege size $SIZE kb 36 echo freespace size $FREE kb 37 if [ "$FREE" -lt "$SIZE" ]; then 38 echo "sorry no freespace left on device" 39 exit 1 40 else 41 echo ok 42 fi 43 else 44 echo "syncing disk" 45 sync 46 fi 47 buildgroup=`cat /etc/.buildgroup` 48 echo "checking OS" 49 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 50 echo --------------------------- 51 echo DONT USE this IPK Package!! 52 echo --- 53 echo Only for $buildgroup Image!! 54 echo --------------------------- 55 exit 1 56 fi 57 58 echo "installing swap Alternate Picons 320x240 for Titan..." 59 9 mv /mnt/swapextensions/usr/local/share/titan/picons/alternate /mnt/swapextensions/usr/local/share/titan/picons/alternate_sich_samsung 10 mv /var/usr/local/share/titan/plugins/lcdsamsung/skin.xml /var/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml 60 11 61 12 exit 0 -
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/prerm
r21381 r23707 1 1 #!/bin/sh 2 TMP=/tmp/.picon3 link=`readlink /var/swap`4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then5 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`6 FREE=`expr $SPACE - 100`7 echo new freespace size $FREE kb8 else9 echo "syncing disk"10 sync11 fi12 2 13 echo "removing picons..."14 3 exit 0
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)