| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | INSTDIR="$1"
|
|---|
| 3 |
|
|---|
| 4 | if [ ! -d /var/usr/local/share/titan/plugins/lcdsamsung ]; then
|
|---|
| 5 | echo "ERROR .... lcdsamsung not installed"
|
|---|
| 6 | exit 1
|
|---|
| 7 | fi
|
|---|
| 8 |
|
|---|
| 9 | samsungdir=`readlink /var/usr/local/share/titan/plugins/lcdsamsung`
|
|---|
| 10 | if [ ! $samsungdir ]; then
|
|---|
| 11 | if [ $INSTDIR != "/var" ]; then
|
|---|
| 12 | echo "ERROR .... lcdsamsung not installed in dir $INSTDIR"
|
|---|
| 13 | exit 1
|
|---|
| 14 | fi
|
|---|
| 15 | else
|
|---|
| 16 | if [ $samsungdir != "$instdir/usr/local/share/titan/plugins/lcdsamsung" ]; then
|
|---|
| 17 | echo "ERROR .... lcdsamsung not installed in dir $INSTDIR"
|
|---|
| 18 | exit 1
|
|---|
| 19 | fi
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 22 | mv "$INSTDIR/usr/local/share/titan/plugins/lcdsamsung/skin.xml" "$INSTDIR/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml"
|
|---|
| 23 |
|
|---|
| 24 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.