From 89b59655d5e664f35df4f8d52dd5dc01761aef3e Mon Sep 17 00:00:00 2001 From: Kayou Date: Sun, 24 Feb 2019 22:21:59 +0100 Subject: [PATCH] Fixing backup restore --- scripts/backup | 2 +- scripts/restore | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 15c39d0..a5790dd 100644 --- a/scripts/backup +++ b/scripts/backup @@ -37,7 +37,7 @@ ynh_print_info "Backing up the main app directory..." ynh_backup "$final_path" -if [[ $firmware_nonfree -eq 1 ]]; then +if [[ $firmware_nonfree -eq 0 ]]; then ynh_backup "/lib/firmware/htc_7010.fw" ynh_backup "/lib/firmware/htc_9271.fw" fi diff --git a/scripts/restore b/scripts/restore index b68c023..4592357 100644 --- a/scripts/restore +++ b/scripts/restore @@ -64,7 +64,6 @@ if [[ $firmware_nonfree -eq 1 ]]; then else packages=$free_packages - mkdir -p /lib/firmware ynh_restore_file "/lib/firmware/htc_7010.fw" ynh_restore_file "/lib/firmware/htc_9271.fw" fi