Browse Source
[fix] Reset backup on 12 and later version
pull/170/head
ljf (zamentur)
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|