Ensure to not purge tasksel anymore… (see #17).
This commit is contained in:
parent
7e58a7ffab
commit
68235772b0
Binary file not shown.
|
@ -52,23 +52,6 @@ apt -y install aptitude tmux zsh
|
||||||
# Remove NFS and rpcbind
|
# Remove NFS and rpcbind
|
||||||
aptitude -y remove nfs-common rpcbind
|
aptitude -y remove nfs-common rpcbind
|
||||||
|
|
||||||
### Tasksel {{{
|
|
||||||
|
|
||||||
if [ "$(dpkg -l task-french)" ]; then
|
|
||||||
# Move default wordlist to american before remove all packages
|
|
||||||
select-default-wordlist --set-default=american
|
|
||||||
aptitude -y remove tasksel tasksel-data task-english task-french task-ssh-server laptop-detect
|
|
||||||
|
|
||||||
# Reinstall useful french doc and move back to french dict
|
|
||||||
aptitude -y install aspell-fr doc-debian-fr doc-linux-fr-text ifrench-gut manpages-fr manpages-fr-extra wfrench
|
|
||||||
select-default-wordlist --set-default=".*(F|f)rench.*"
|
|
||||||
|
|
||||||
else
|
|
||||||
aptitude -y remove tasksel tasksel-data task-english task-ssh-server laptop-detect
|
|
||||||
fi
|
|
||||||
|
|
||||||
### }}}
|
|
||||||
|
|
||||||
# Ensure to reinstall openssh-server
|
# Ensure to reinstall openssh-server
|
||||||
aptitude -y install openssh-server openssh-sftp-server
|
aptitude -y install openssh-server openssh-sftp-server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue