From 44796a9efce53bcdf0656a68591dbc03cd33cbe6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 28 Feb 2019 23:56:22 +0100 Subject: [PATCH] Force firmware_nonfree to no on armbian --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 5510ea9..c2493d4 100644 --- a/scripts/install +++ b/scripts/install @@ -66,6 +66,14 @@ ynh_webpath_available "$domain" "$path_url" # Register (book) web path 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 #=================================================