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:
parent
854c8d16da
commit
89b59655d5
2 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue