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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-12-27 13:52:03 +01:00
parent fd06af237f
commit c48bf894d1

View file

@ -97,7 +97,7 @@ fi
#================================================= #=================================================
# CONFIGURE PIWIGO # CONFIGURE PIWIGO
#================================================= #=================================================
ynh_script_progression --message="Configuring Piwigo..." ynh_script_progression --message="Configuring $app..." --weight=2
# Change local config # Change local config
ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php" ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php"
@ -112,7 +112,7 @@ chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# CONFIGURE LDAP PLUGIN # CONFIGURE LDAP PLUGIN
#================================================= #=================================================
ynh_script_progression --message="Configuring LDAP plugin..." ynh_script_progression --message="Configuring LDAP plugin..." --weight=2
# Disable LDAP plugin to avoid warning messages during API call # Disable LDAP plugin to avoid warning messages during API call
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name <<< "DELETE FROM plugins WHERE id='Ldap_Login';" ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name <<< "DELETE FROM plugins WHERE id='Ldap_Login';"