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
79127718
Commit
79127718
authored
May 05, 2018
by
Igor Pecovnik
Browse files
Add Office and thunderbird install/deinstall
parent
390c7cdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
79127718
...
...
@@ -806,6 +806,26 @@ function jobs ()
fi
;;
"Thunderbird"
)
if
!
check_if_installed thunderbird
then
;
then
debconf-apt-progress
--
apt-get
-y
install
thunderbird
else
debconf-apt-progress
--
apt-get
-y
purge thunderbird
fi
;;
"Libre"
)
debconf-apt-progress
--
apt-get
-y
purge libreoffice
*
;;
"Writer"
)
debconf-apt-progress
--
apt-get
-y
install
libreoffice-writer libreoffice-style-tango libreoffice-gtk
;;
"Suite"
)
debconf-apt-progress
--
apt-get
-y
install
libreoffice libreoffice-style-tango libreoffice-gtk
;;
# Stop low-level messages on console
#
...
...
debian-config-submenu
View file @
79127718
...
...
@@ -304,6 +304,22 @@ while true; do
else
LIST+
=(
"RDP"
"Enable remote desktop access from Windows"
)
fi
if
!
check_if_installed thunderbird
then
;
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
LIST+
=(
"Writer"
"Libreoffice: Writer only"
)
LIST+
=(
"Suite"
"Libreoffice: Full suite"
)
else
if
!
check_if_installed libreoffice-base
then
;
then
LIST+
=(
"Suite"
"Libreoffice: Full suite"
)
LIST+
=(
"Libre"
"Remove Libre office packages"
)
else
LIST+
=(
"Libre"
"Remove Libre office packages"
)
fi
fi
fi
# count number of menu items to adjust window sizee
...
...
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