1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivist_ynh.git synced 2024-09-03 18:15:55 +02:00

Drop stretch compatibility. Fixed upstream

This commit is contained in:
Maniack Crudelis 2020-05-02 00:52:31 +02:00
parent 1638467355
commit b4452b3d02
3 changed files with 0 additions and 30 deletions

View file

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

View file

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

View file

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