diff --git a/scripts/restore b/scripts/restore index cb9b69e..d4a68a9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -60,7 +60,7 @@ ynh_add_config --template="$YNH_APP_BASEDIR/conf/$architecture.src.default" --de tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=$architecture +ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1 if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename ; then # This command will fail in lxc env diff --git a/scripts/upgrade b/scripts/upgrade index c87e646..69331ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -238,7 +238,7 @@ then tempdir="$(mktemp -d)" - ynh_setup_source --dest_dir=$tempdir --source_id=$architecture + ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1 if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename; then # This command will fail in lxc env package_check_action # defined in upgrade.d/upgrade.X.sh