From 6d2413e1d437da4c84cae68bac48540dc163acd9 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 30 Dec 2016 17:34:11 +0100 Subject: [PATCH] Comply with new package_linter rules --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 721c919..acc4983 100644 --- a/scripts/install +++ b/scripts/install @@ -50,7 +50,7 @@ sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf # Set permissions and reload nginx (needed at this stage for the PHP piwigo installation process) sudo service nginx reload -sudo yunohost app setting "$app" unprotected_uris -v "/" +ynh_app_setting_set "$app" unprotected_uris "/" sudo yunohost app ssowatconf @@ -61,8 +61,8 @@ curl --resolve $domain:443:127.0.0.1 -kL -X POST https://$domain$path/index.php? #protect URIs if private if [ $is_public -eq 0 ]; then - sudo yunohost app setting "$app" -d unprotected_uris - sudo yunohost app setting "$app" protected_uris -v "/" + ynh_app_setting_delete "$app" unprotected_uris + ynh_app_setting_set "$app" protected_uris "/" fi # Add cron job