From b4452b3d023f0f733f9b494f6e849da1475094be Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sat, 2 May 2020 00:52:31 +0200 Subject: [PATCH] Drop stretch compatibility. Fixed upstream --- scripts/install | 10 ---------- scripts/restore | 10 ---------- scripts/upgrade | 10 ---------- 3 files changed, 30 deletions(-) diff --git a/scripts/install b/scripts/install index d64270c..670fbc1 100755 --- a/scripts/install +++ b/scripts/install @@ -135,16 +135,6 @@ fi # Calculate and store the config file checksum into the app settings ynh_store_file_checksum --file="$config_file" -#================================================= -# STRETCH COMPATIBILITY -#================================================= - -if is_stretch -then - ynh_replace_string --match_string="yunohost backup create --ignore-apps" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" - ynh_replace_string --match_string="yunohost backup create --ignore-system" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" -fi - #================================================= # SET THE CRON FILE #================================================= diff --git a/scripts/restore b/scripts/restore index 0f55b31..b17f8d5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -45,16 +45,6 @@ ynh_script_progression --message="Restoring the app main directory..." ynh_restore_file --origin_path="$final_path" -#================================================= -# STRETCH COMPATIBILITY -#================================================= - -if is_stretch -then - ynh_replace_string --match_string="yunohost backup create --ignore-apps" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" - ynh_replace_string --match_string="yunohost backup create --ignore-system" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" -fi - #================================================= # SPECIFIC RESTORATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4a5963b..bc23dfb 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,16 +109,6 @@ ynh_install_app_dependencies $app_depencencies #================================================= # SPECIFIC UPGRADE -#================================================= -# STRETCH COMPATIBILITY -#================================================= - -if is_stretch -then - ynh_replace_string --match_string="yunohost backup create --ignore-apps" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" - ynh_replace_string --match_string="yunohost backup create --ignore-system" --replace_string="yunohost backup create" --target_file="$final_path/archivist.sh" -fi - #================================================= # UPDATE THE CRON FILE #=================================================