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
9ef138e5
Commit
9ef138e5
authored
May 09, 2018
by
Igor Pecovnik
Browse files
Proper desktop mini/maxi install, few typos
parent
c61d71a3
Changes
2
Show whitespace changes
Inline
Side-by-side
debian-config-functions
View file @
9ef138e5
...
...
@@ -405,12 +405,24 @@ function configure_desktop ()
add_choose_user
if
[
-n
"
$CHOSEN_USER
"
]
;
then
# install desktop and nodm
# update packages
debconf-apt-progress
--
apt-get update
# remove desktop package to secure proper install
if
check_if_installed armbian-
${
DISTROID
}
-desktop
;
then
debconf-apt-progress
--
apt-get
-y
remove armbian-
${
DISTROID
}
-desktop
fi
# install desktop package
debconf-apt-progress
--
apt-get
-y
install
$1
armbian-
${
DISTROID
}
-desktop
DEBIAN_FRONTEND
=
noninteractive debconf-apt-progress
--
apt-get
-y
-qq
install
nodm
# clean apt cache
apt-get clean
# add user to groups
for
additionalgroup
in
sudo
netdev audio video dialout plugdev bluetooth systemd-journal ssh
;
do
for
additionalgroup
in
sudo
netdev audio video dialout plugdev
input
bluetooth systemd-journal ssh
;
do
usermod
-aG
${
additionalgroup
}
${
CHOSEN_USER
}
2>/dev/null
done
...
...
debian-config-submenu
View file @
9ef138e5
...
...
@@ -319,16 +319,16 @@ while true; do
else
LIST+
=(
"RDP"
"Enable remote desktop access from Windows"
)
fi
if
!
check_if_installed thunderbird
then
;
then
if
!
check_if_installed thunderbird
;
then
LIST+
=(
"Thunderbird"
"Install full featured email client"
)
else
LIST+
=(
"Thunderbird"
"Remove full featured email client"
)
fi
if
!
check_if_installed libreoffice-writer
then
;
then
if
!
check_if_installed libreoffice-writer
;
then
LIST+
=(
"Writer"
"Libreoffice: Writer only"
)
LIST+
=(
"Suite"
"Libreoffice: Full suite"
)
else
if
!
check_if_installed libreoffice-base
then
;
then
if
!
check_if_installed libreoffice-base
;
then
LIST+
=(
"Suite"
"Libreoffice: Full suite"
)
LIST+
=(
"Libre"
"Remove Libre office packages"
)
else
...
...
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