Przeglądaj źródła

Drop stretch compatibility. Fixed upstream

Maniack Crudelis 5 lat temu
rodzic
commit
b4452b3d02
3 zmienionych plików z 0 dodań i 30 usunięć
  1. 0 10
      scripts/install
  2. 0 10
      scripts/restore
  3. 0 10
      scripts/upgrade

+ 0 - 10
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
 #=================================================

+ 0 - 10
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
 #=================================================

+ 0 - 10
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
 #=================================================