fix moving of webtv/webradio xmls

Origin commit data
------------------
Branch: ni/coolstream
Commit: a2e2b87ae7
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-22 (Thu, 22 Nov 2018)

Origin message was:
------------------
- fix moving of webtv/webradio xmls

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-11-22 00:13:24 +01:00
parent d476abceeb
commit 0fb74e2c5a

View File

@@ -8,14 +8,14 @@ if [ -e neutrino.conf ]; then
# webradio_usr.xml was moved
sed -i "s|/var/tuxbox/config/webradio_usr.xml|/var/tuxbox/webradio/webradio_usr.xml|" neutrino.conf
mkdir -p /var/tuxbox/webradio/
if [ -e /var/tuxbox/config/webradio_usr.xml -a ! -e /var/tuxbox/webradio/webradio_usr.xml ]; then
if [ -e /var/tuxbox/config/webradio_usr.xml ]; then
mv /var/tuxbox/config/webradio_usr.xml /var/tuxbox/webradio/
fi
# webtv_usr.xml was moved
sed -i "s|/var/tuxbox/config/webtv_usr.xml|/var/tuxbox/webtv/webtv_usr.xml|" neutrino.conf
mkdir -p /var/tuxbox/webtv/
if [ -e /var/tuxbox/config/webtv_usr.xml -a ! -e /var/tuxbox/webtv/webtv_usr.xml ]; then
if [ -e /var/tuxbox/config/webtv_usr.xml ]; then
mv /var/tuxbox/config/webtv_usr.xml /var/tuxbox/webtv/
fi