Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
7211f4f9
Commit
7211f4f9
authored
May 02, 2018
by
Igor Pecovnik
Browse files
Bugfix
parent
31d1fa93
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
7211f4f9
...
@@ -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
;;
;;
...
...
debian-config-submenu
View file @
7211f4f9
...
@@ -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"
)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment