diff --git a/scripts/upgrade b/scripts/upgrade index ab5497c..78fd988 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,10 +50,10 @@ sudo chown root: $finalphpconf sudo chmod 644 $finalphpconf # Make app public if necessary -sudo yunohost app setting my_webapp is_public -v "$is_public" +sudo yunohost app setting $app is_public -v "$is_public" if [ "$is_public" = "Yes" ]; then - sudo yunohost app setting my_webapp skipped_uris -v "/" + sudo yunohost app setting $app skipped_uris -v "/" fi