mirror of
https://github.com/YunoHost-Apps/cheky_ynh.git
synced 2024-09-03 18:16:00 +02:00
Comply with new package_linter rules
This commit is contained in:
parent
58ffd500e6
commit
6d2413e1d4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue