Don't remove some x11's apps dependancies

And update latecommand archive
This commit is contained in:
Jeremy Gardais 2019-01-07 19:27:48 +01:00
parent 3cac3041f5
commit caf81c15fa
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 11 additions and 10 deletions

Binary file not shown.

View File

@ -35,13 +35,19 @@ apt -y full-upgrade
# Ensure to have some basic packages # Ensure to have some basic packages
apt -y install aptitude tmux zsh apt -y install aptitude tmux zsh
# Remove NFS and rpcbind # If no X display is expected
# TODO: check if useful
#aptitude -y remove nfs-common rpcbind
# Remove unwanted x11 lib if no X display is expected
if [ ! "$(dpkg -l xorg)" ]; then if [ ! "$(dpkg -l xorg)" ]; then
## Remove unwanted x11 lib
aptitude -y remove libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 xauth aptitude -y remove libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 xauth
if [ "$(dpkg -l task-english)" ]; then
## Remove task-english
aptitude -y remove task-english iamerican ibritish ienglish-common ispell util-linux-locales wamerican
fi
else
if [ "$(dpkg -l task-english)" ]; then
## Remove task-english
aptitude -y remove task-english
fi
fi fi
### Documentation {{{ ### Documentation {{{
@ -56,11 +62,6 @@ if [ "$(dpkg -l task-french)" ]; then
select-default-wordlist --set-default=".*(F|f)rench.*" select-default-wordlist --set-default=".*(F|f)rench.*"
fi fi
# Remove task-english
if [ "$(dpkg -l task-english)" ]; then
aptitude -y remove task-english dictionaries-common emacsen-common iamerican ibritish ienglish-common ispell util-linux-locales wamerican
fi
# Ensure to have minimal documentation # Ensure to have minimal documentation
aptitude -y install man-db manpages aptitude -y install man-db manpages