Browse Source

- channellists: remove hardcoded paths

master
vanhofen 3 years ago
parent
commit
1d86717d21
  1. 2
      package/channellists/files/update-ctrl/postinstall.sh
  2. 2
      package/channellists/files/update-ctrl/preinstall.sh

2
package/channellists/files/update-ctrl/postinstall.sh

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
sleep 3 sleep 3
/bin/sync sync
if [ -e /var/tuxbox/config/zapit/ubouquets.xml.org ]; then if [ -e /var/tuxbox/config/zapit/ubouquets.xml.org ]; then
mv -f /var/tuxbox/config/zapit/ubouquets.xml.org /var/tuxbox/config/zapit/ubouquets.xml mv -f /var/tuxbox/config/zapit/ubouquets.xml.org /var/tuxbox/config/zapit/ubouquets.xml
fi fi

2
package/channellists/files/update-ctrl/preinstall.sh

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if [ -e /var/tuxbox/config/zapit/ubouquets.xml ]; then if [ -e /var/tuxbox/config/zapit/ubouquets.xml ]; then
/bin/msgbox title="Kanallisten-Update" msg="~s~n~c~YEigene ubouquets.xml ~uberschreiben?" select="Ja,Nein" default=2 msgbox title="Kanallisten-Update" msg="~s~n~c~YEigene ubouquets.xml ~uberschreiben?" select="Ja,Nein" default=2
if [ ${?} == 2 ]; then if [ ${?} == 2 ]; then
mv /var/tuxbox/config/zapit/ubouquets.xml /var/tuxbox/config/zapit/ubouquets.xml.org mv /var/tuxbox/config/zapit/ubouquets.xml /var/tuxbox/config/zapit/ubouquets.xml.org
echo "### move ubouquets.xml ###" echo "### move ubouquets.xml ###"

Loading…
Cancel
Save