Don't remove some x11's apps dependancies
And update latecommand archive
This commit is contained in:
parent
3cac3041f5
commit
caf81c15fa
Binary file not shown.
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue