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