From b7e8cd00e5187b340d6f3bbd8f50b0e4d6a25826 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 6 Dec 2016 11:44:12 +0100 Subject: [PATCH] Do not upgrade the config.json file To avoid overwritting custom config.json Until a better solution is found... --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index a3c07a5..c1fe3ef 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,8 @@ app=$YNH_APP_INSTANCE_NAME # Copy source files src_path=/var/www/$app sudo mkdir -p $src_path - sudo cp -a index.html manifest.appcache ../conf/config.json $src_path + sudo cp -a index.html manifest.appcache $src_path + #sudo cp -a ../conf/config.json $src_path # Set permissions to app files sudo chown -R root: $src_path