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