mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
[fix] Reset backup on 12 and later version
This commit is contained in:
parent
c71a444a94
commit
15f6eb637f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue