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
2fb07359
Commit
2fb07359
authored
Apr 25, 2019
by
Igor Pecovnik
Browse files
bugfix. installing desktop when switching beta/stable
parent
c905d7ac
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
2fb07359
...
@@ -327,7 +327,7 @@ function reload_bsp(){
...
@@ -327,7 +327,7 @@ function reload_bsp(){
# if new packages are absent, reinstall old ones
# if new packages are absent, reinstall old ones
if
[[
-z
$PACKAGE_LIST
]]
;
then
if
[[
-z
$PACKAGE_LIST
]]
;
then
PACKAGE_LIST
=
"linux-
${
DISTROID
}
-root
$TARGET_BRANCH
-
$BOARD
"
PACKAGE_LIST
=
"linux-
${
DISTROID
}
-root
$TARGET_BRANCH
-
$BOARD
"
[[
-n
$(
apt-cache search
--names-only
"^
armbian-
${
DISTROID
}
-desktop
$"
)
]]
&&
PACKAGE_LIST
=
$PACKAGE_LIST
" armbian-
${
DISTROID
}
-desktop"
check_if_installed
armbian-
${
DISTROID
}
-desktop
&&
PACKAGE_LIST
=
$PACKAGE_LIST
" armbian-
${
DISTROID
}
-desktop"
fi
fi
# reinstall headers only if they are already installed
# reinstall headers only if they are already installed
...
...
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