diff --git a/CHANGELOG.md b/CHANGELOG.md index ee9337e..4b46e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Improvement * Add an UEFI entry to manage specific partitions (see #16). * task-ssh-server is removed (see #18). +* task-french is removed (see #18). ### Fix * Leave standard task in peace to be able to have a X session for user's nodes… (see #17). diff --git a/scripts/latecommand/post.sh b/scripts/latecommand/post.sh index bc28b9d..5bce425 100755 --- a/scripts/latecommand/post.sh +++ b/scripts/latecommand/post.sh @@ -21,6 +21,20 @@ apt -y install aptitude tmux zsh # Remove NFS and rpcbind aptitude -y remove nfs-common rpcbind +### Documentation {{{ +# Remove task-french +if [ "$(dpkg -l task-french)" ]; then + # Move default wordlist to american before remove all packages + select-default-wordlist --set-default=american + aptitude -y remove task-french + + # 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.*" +fi + +### }}} + ### SSH {{{ # Remove task-ssh-server if [ "$(dpkg -l task-ssh-server)" ]; then