From 16ad6b30ed4bbe2b3c2aa88d24f482a452f89979 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sat, 24 Dec 2016 10:10:00 +0000 Subject: [PATCH] CLeaning --- scripts/install | 2 +- scripts/restore | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 99f5855..221a79f 100755 --- a/scripts/install +++ b/scripts/install @@ -191,7 +191,7 @@ if [ "$is_public" = "Yes" ]; then ynh_app_setting_set $app skipped_uris "/" else - echo "nothing"; + ynh_app_setting_set $app protected_uris "/" fi # Reload Nginx and regenerate SSOwat conf diff --git a/scripts/restore b/scripts/restore index b23d27b..f815291 100755 --- a/scripts/restore +++ b/scripts/restore @@ -63,6 +63,8 @@ is_public=$(ynh_app_setting_get $app is_public) if [ "$is_public" = "Yes" ]; then ynh_app_setting_set $app skipped_uris "/" +else + ynh_app_setting_set $app protected_uris "/" fi