- Timestamp:
- Oct 28, 2013, 10:59:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/lcdsamsungskins_Digitaluhr_blau/CONTROL/preinst
r24452 r24645 1 1 #!/bin/sh 2 2 INSTDIR="$1" 3 NAME=lcdsamsung 3 4 4 if [ ! - d /var/usr/local/share/titan/plugins/lcdsamsung]; then5 echo "ERROR .... lcdsamsung not installed"6 exit 15 if [ ! -e "/var/usr/local/share/titan/plugins/$NAME" ] && [ ! -e "/var/swap/usr/local/share/titan/plugins/$NAME" ] && [ ! -e "/mnt/swapextensions/usr/local/share/titan/plugins/$NAME" ]; then 6 echo "ERROR: Install Tools/$NAME" 7 exit 1 7 8 fi 8 9 9 samsungdir=`readlink /var/usr/local/share/titan/plugins/lcdsamsung`10 if [ ! $samsungdir ]; then11 if [ $INSTDIR != "/var" ]; then12 echo "ERROR .... lcdsamsung not installed in dir $INSTDIR"13 exit 114 fi15 else16 if [ $samsungdir != "$INSTDIR/usr/local/share/titan/plugins/lcdsamsung" ]; then17 echo "ERROR .... lcdsamsung not installed in dir $INSTDIR"18 exit 119 fi20 fi21 22 mv "$INSTDIR/usr/local/share/titan/plugins/lcdsamsung/skin.xml" "$INSTDIR/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml"23 24 10 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)