mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-06-07 21:15:29 +02:00
Comply with new package_linter rules
This commit is contained in:
parent
58ffd500e6
commit
6d2413e1d4
@ -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)
|
# Set permissions and reload nginx (needed at this stage for the PHP piwigo installation process)
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app setting "$app" unprotected_uris -v "/"
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
sudo yunohost app ssowatconf
|
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
|
#protect URIs if private
|
||||||
if [ $is_public -eq 0 ];
|
if [ $is_public -eq 0 ];
|
||||||
then
|
then
|
||||||
sudo yunohost app setting "$app" -d unprotected_uris
|
ynh_app_setting_delete "$app" unprotected_uris
|
||||||
sudo yunohost app setting "$app" protected_uris -v "/"
|
ynh_app_setting_set "$app" protected_uris "/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add cron job
|
# Add cron job
|
||||||
|
Loading…
x
Reference in New Issue
Block a user