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:
parent
fd06af237f
commit
c48bf894d1
1 changed files with 2 additions and 2 deletions
|
@ -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';"
|
||||||
|
|
Loading…
Reference in a new issue