mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user