From cec9a892cc0d5c4ed6955a2bd2a15d2ba1014c9d Mon Sep 17 00:00:00 2001 From: rern Date: Mon, 2 Jan 2023 15:05:45 +0700 Subject: [PATCH] Update install.sh --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9f30ce189..a48ff8e04 100644 --- a/install.sh +++ b/install.sh @@ -117,7 +117,10 @@ rm -rf /srv/http/assets/{css,fonts,js} getinstallzip -[[ -e /tmp/mpdconf ]] && mv /tmp/mpdconf $dirdata +if [[ -e /tmp/mpdconf ]]; then + rm -rf $dirmpdconf + mv /tmp/mpdconf $dirdata +fi chmod +x $dirsettings/system.sh $dirsettings/system.sh dirpermissions [[ -e $dirsystem/color ]] && $dirbash/cmd.sh color