1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

[fix] remove test unneed

CHECK_SIZE was exiting the backup script even if there was not enough disk space.
Also, disk space is managed by YunoHost core directly.
This commit is contained in:
Gofannon 2019-04-23 14:33:02 +02:00 committed by GitHub
parent c752463b8f
commit 083d8935dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,10 +50,8 @@ ynh_backup "/etc/transmission-daemon/settings.json"
#=================================================
ynh_backup "/usr/share/transmission"
ynh_backup "/var/lib/transmission-daemon"
CHECK_SIZE "/home/yunohost.transmission"
# The "--is big" parameter indicates that the file/directory requires "a lot of disk space"
# It won't be backed up before 'upgrade' or while doing a 'backup' with:
# "sudo BACKUP_CORE_ONLY=1 yunohost backup create --apps transmission"