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:
parent
d1e5937700
commit
d3b931fe6b
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue