Remove X11 support if unwanted
This commit is contained in:
parent
96d1db0a87
commit
01d861ad4e
Binary file not shown.
|
@ -36,20 +36,19 @@ aptitude -y install dbus libpam-systemd
|
||||||
aptitude -y remove nfs-common rpcbind
|
aptitude -y remove nfs-common rpcbind
|
||||||
|
|
||||||
### Documentation {{{
|
### Documentation {{{
|
||||||
# Remove task-french
|
# If no X display is expected
|
||||||
if [ "$(dpkg -l task-french)" ]; then
|
if [ ! "$(dpkg -l xorg)" ]; then
|
||||||
# Move default wordlist to american before remove all packages
|
## Remove unwanted x11 lib
|
||||||
select-default-wordlist --set-default=american
|
aptitude -y remove libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 xauth
|
||||||
aptitude -y remove task-french
|
if [ "$(dpkg -l task-english)" ]; then
|
||||||
|
## Remove task-english
|
||||||
# Reinstall useful french doc and move back to french dict
|
aptitude -y remove task-english iamerican ibritish ienglish-common ispell util-linux-locales wamerican
|
||||||
aptitude -y install aspell-fr doc-debian-fr doc-linux-fr-text ifrench-gut manpages-fr manpages-fr-extra wfrench
|
fi
|
||||||
select-default-wordlist --set-default=".*(F|f)rench.*"
|
else
|
||||||
fi
|
if [ "$(dpkg -l task-english)" ]; then
|
||||||
|
## Remove task-english
|
||||||
# Remove task-english
|
|
||||||
if [ "$(dpkg -l task-english)" ]; then
|
|
||||||
aptitude -y remove task-english
|
aptitude -y remove task-english
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure to have minimal documentation
|
# Ensure to have minimal documentation
|
||||||
|
|
Loading…
Reference in New Issue