From 15f6eb637f7d413906ae4e149c6313c6226b4ef9 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Tue, 26 Feb 2019 00:58:36 +0100 Subject: [PATCH] [fix] Reset backup on 12 and later version --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 06ea0ff..2d54c82 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,7 +49,7 @@ fi current_version=$(grep OC_VersionString "$final_path/version.php" | cut -d\' -f2) current_major_version=${current_version%%.*} -if [ $current_major_version -gt 15 ] +if [ $current_major_version -gt 11 ] then # Inform the backup/restore process that it should not save the data directory ynh_app_setting_set $app backup_core_only 1