mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
Force firmware_nonfree to no on armbian
This commit is contained in:
parent
961ecfac21
commit
44796a9efc
1 changed files with 8 additions and 0 deletions
|
@ -66,6 +66,14 @@ ynh_webpath_available "$domain" "$path_url"
|
||||||
# Register (book) web path
|
# Register (book) web path
|
||||||
ynh_webpath_register "$app" "$domain" "$path_url"
|
ynh_webpath_register "$app" "$domain" "$path_url"
|
||||||
|
|
||||||
|
# If we're on armbian, force $firmware_nonfree
|
||||||
|
# because armbian-firmware conflicts with the non-free packages ...
|
||||||
|
if dpkg --list | grep -q armbian-firmware; then
|
||||||
|
echo "You are running Armbian and non-free firmware are known to conflict with armbian-firwmare. " >&2
|
||||||
|
firmware_nonfree="no"
|
||||||
|
echo "Variable firmware_non_free has been forced to 'no'" >&2
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# STORE SETTINGS FROM MANIFEST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue