1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/abantecart_ynh.git synced 2024-09-03 18:06:16 +02:00

Update install

This commit is contained in:
frju365 2017-03-04 10:54:19 +01:00 committed by GitHub
parent d1e5937700
commit d3b931fe6b

View file

@ -154,13 +154,10 @@ sudo chmod 644 $finalphpconf
#=================================================
# Make app private if necessary
ynh_app_setting_set $app is_public "$is_public"
if [ $is_public -eq 0 ];
ynh_app_setting_set "$app" is_public "$is_public"
if [ "$is_public" = "Yes" ];
then
# Retire l'autorisation d'accès de la page d'install.
ynh_app_setting_delete $app unprotected_uris
# Rend la page d'actualisation accessible pour le script cron.
ynh_app_setting_get $app skipped_uris "/action.php"
ynh_app_setting_set "$app" unprotected_uris "/"
fi
#=================================================