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

Bugfix

parent 31d1fa93
...@@ -159,6 +159,8 @@ function jobs () ...@@ -159,6 +159,8 @@ function jobs ()
# #
"Full"|"Mini" ) "Full"|"Mini" )
if ! is_package_manager_running; then 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//') debconf-apt-progress -- apt-get -y install armbian-firmware$(echo -"${1,,}" | sed 's/-mini//')
fi fi
;; ;;
......
...@@ -275,7 +275,7 @@ while true; do ...@@ -275,7 +275,7 @@ while true; do
LIST+=( "Headers" "Install kernel headers" ); fi LIST+=( "Headers" "Install kernel headers" ); fi
if [[ -d /etc/armbian ]]; then 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" ); LIST+=( "Mini" "Install mini firmware package" );
else else
LIST+=( "Full" "Install full firmware package" ); 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