From 1d86717d21322fbdd07d4fc91d84dc5eeeb62132 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 5 Feb 2022 20:03:07 +0100 Subject: [PATCH] - channellists: remove hardcoded paths --- package/channellists/files/update-ctrl/postinstall.sh | 2 +- package/channellists/files/update-ctrl/preinstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/channellists/files/update-ctrl/postinstall.sh b/package/channellists/files/update-ctrl/postinstall.sh index 57954af9..a915a1b0 100755 --- a/package/channellists/files/update-ctrl/postinstall.sh +++ b/package/channellists/files/update-ctrl/postinstall.sh @@ -1,6 +1,6 @@ #!/bin/sh sleep 3 -/bin/sync +sync 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 fi diff --git a/package/channellists/files/update-ctrl/preinstall.sh b/package/channellists/files/update-ctrl/preinstall.sh index ee3ce8bd..645c9df4 100755 --- a/package/channellists/files/update-ctrl/preinstall.sh +++ b/package/channellists/files/update-ctrl/preinstall.sh @@ -1,6 +1,6 @@ #!/bin/sh 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 mv /var/tuxbox/config/zapit/ubouquets.xml /var/tuxbox/config/zapit/ubouquets.xml.org echo "### move ubouquets.xml ###"