diff --git a/scripts/restore b/scripts/restore index 7adf86f..ccc6e99 100644 --- a/scripts/restore +++ b/scripts/restore @@ -97,8 +97,7 @@ ynh_restore_file --origin_path="$config_path/gitlab-persistent.rb" ynh_script_progression --message="Reinstalling GitLab..." --weight=50 source ../settings/scripts/upgrade.d/upgrade.last.sh -mkdir -p ../conf/ -cp ../settings/conf/$architecture.src.default ../conf/$architecture.src +cp ../settings/conf/$architecture.src.default ../settings/conf/$architecture.src ynh_replace_string --match_string="__VERSION__" --replace_string="$gitlab_version" --target_file="../conf/$architecture.src" ynh_replace_string --match_string="__SOURCE_FILENAME__" --replace_string="$gitlab_filename" --target_file="../conf/$architecture.src" ynh_replace_string --match_string="__DEBIAN_VERSION__" --replace_string="$gitlab_debian_version" --target_file="../conf/$architecture.src"