diff --git a/scripts/latecommand/post.sh b/scripts/latecommand/post.sh index 17fb04a..1cb3b29 100755 --- a/scripts/latecommand/post.sh +++ b/scripts/latecommand/post.sh @@ -53,27 +53,17 @@ mkdir -p -- /var/log/journal ### }}} ## Packages {{{ -BASE_PKG_INSTALL="aptitude tmux zsh" - -apt -y install "${BASE_PKG_INSTALL}" - -### NFS {{{ +# Ensure to have some basic packages +apt -y install aptitude tmux zsh # Remove NFS and rpcbind -NFS_PKG_REMOVE="nfs-common rpcbind" +aptitude -y remove nfs-common rpcbind -aptitude -y remove "${NFS_PKG_REMOVE}" -### }}} - -### Tasksel {{{ -TASKSEL_PKG_REMOVE="tasksel tasksel-data task-english task-french task-ssh-server laptop-detect" - -aptitude -y remove "${TASKSEL_PKG_REMOVE}" +### Remove tasksel +aptitude -y remove tasksel tasksel-data task-english task-french task-ssh-server laptop-detect # Ensure to reinstall openssh-server -SSH_PKG_INSTALL="openssh-server openssh-sftp-server" -aptitude -y install "${SSH_PKG_INSTALL}" -### }}} +aptitude -y install openssh-server openssh-sftp-server ## }}}