Skip to content

Commit

Permalink
Fix upgrade: full_replace=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Mar 23, 2024
1 parent d3f64e5 commit 68ae8cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ fi
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=3

ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin
ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="local/config/config.inc.php local/config/database.inc.php"
ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin --full_replace=1
ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin --full_replace=1

_create_data_dirs_if_required

Expand Down

0 comments on commit 68ae8cb

Please sign in to comment.