@@ -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
@@ -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"