From 06c2ca7ab3ef25cd3798319c89e53295efcddcf4 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Thu, 28 Jun 2018 00:21:12 +0200 Subject: [PATCH] [enh] Optimization by removing useless step See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37 --- scripts/install | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 06e803c..0989d1a 100755 --- a/scripts/install +++ b/scripts/install @@ -153,10 +153,14 @@ chmod 755 $final_path/lib/tpl/{dokuwiki,dokuwiki/images} # SETUP SSOWAT #================================================= -if [ $is_public -eq 0 ] -then # Remove the public access - ynh_app_setting_delete $app skipped_uris -fi +# Not needed as no skipped_uris have been added before. +# Example : "ynh_app_setting_set $app skipped_uris ..." +# See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37 for explanation +#if [ $is_public -eq 0 ] +#then # Remove the public access +# ynh_app_setting_delete $app skipped_uris +#fi + # Make app public if necessary if [ $is_public -eq 1 ] then