Commit 7211f4f9 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Bugfix

parent 31d1fa93
......@@ -159,6 +159,8 @@ function jobs ()
#
"Full"|"Mini" )
if ! is_package_manager_running; then
echo "armbian-firmware$(echo -"${1,,}" | sed 's/-mini//')"
debconf-apt-progress -- apt-get -y purge armbian-firmware* # workaround since pkg replace deesn't work properly
debconf-apt-progress -- apt-get -y install armbian-firmware$(echo -"${1,,}" | sed 's/-mini//')
fi
;;
......
......@@ -275,7 +275,7 @@ while true; do
LIST+=( "Headers" "Install kernel headers" ); fi
if [[ -d /etc/armbian ]]; then
if [[ -n $(dpkg -l | grep linux-firmware-full) ]]; then
if [[ -n $(dpkg -l | grep -w "armbian-firmware-full ") ]]; then
LIST+=( "Mini" "Install mini firmware package" );
else
LIST+=( "Full" "Install full firmware package" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment