|
Last change
on this file since 24155 was 24155, checked in by nit, 13 years ago |
|
[titan] update tpk
|
-
Property svn:executable
set to
*
|
|
File size:
484 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | INSTDIR="$1"
|
|---|
| 3 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/dlna"
|
|---|
| 4 |
|
|---|
| 5 | echo INSTDIR $INSTDIR
|
|---|
| 6 | echo PLUGINDIR $PLUGINDIR
|
|---|
| 7 |
|
|---|
| 8 | if [ ! -e "$INSTDIR/etc/minidlna.conf" ]; then
|
|---|
| 9 | echo "use tpk config file: minidlna.conf"
|
|---|
| 10 | echo "rename $INSTDIR/etc/minidlna.conf.minidlna > $INSTDIR/etc/minidlna.conf"
|
|---|
| 11 | mv "$INSTDIR/etc/minidlna.conf.minidlna" "$INSTDIR/etc/minidlna.conf"
|
|---|
| 12 | else
|
|---|
| 13 | echo "found user config file: minidlna.conf"
|
|---|
| 14 | echo "skip tpk config file: minidlna.conf.minidlna"
|
|---|
| 15 | fi
|
|---|
| 16 |
|
|---|
| 17 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.