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 #=================================================