| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | INSTDIR="$1"
|
|---|
| 3 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
|
|---|
| 4 |
|
|---|
| 5 | if [ $INSTDIR != "/var" ]; then
|
|---|
| 6 | rm -rf /var/usr/local/share/titan/plugins/instar >/dev/null 2>&1
|
|---|
| 7 | ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/instar
|
|---|
| 8 | fi
|
|---|
| 9 |
|
|---|
| 10 | if [ -e /tmp/instar.conf ]; then
|
|---|
| 11 | mv "$PLUGINDIR/instar.conf" "$PLUGINDIR/instar.conf_org"
|
|---|
| 12 | cp /tmp/instar.conf "$PLUGINDIR/instar.conf"
|
|---|
| 13 | rm /tmp/instar.conf
|
|---|
| 14 | fi
|
|---|
| 15 |
|
|---|
| 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.