From cb1cfea3fd2c8d9ac51dacab342ec3277bc64edf Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 16 Aug 2019 13:25:36 +0200 Subject: [PATCH] fix config.js overwrite protection --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a575745..47e9fd6 100755 --- a/install.sh +++ b/install.sh @@ -46,8 +46,8 @@ fi mkdir -p $ipath -if [ -f $ipath/defaults.json ]; then - cp $ipath/config.json . 2>/dev/null +if [ -f $ipath/html/defaults.js ]; then + cp $ipath/html/config.js html/ fi cp -r * $ipath