1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Fixing backup restore

This commit is contained in:
Kayou 2019-02-24 22:21:59 +01:00
parent 854c8d16da
commit 89b59655d5
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126
2 changed files with 1 additions and 2 deletions

View file

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

View file

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