From 530e0584884d223bb77366faa32505dcba333487 Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Sun, 20 Aug 2017 16:13:15 +0200 Subject: [PATCH] =?UTF-8?q?in-target=20doesn't=20like=20the=20vars?= =?UTF-8?q?=E2=80=A6=20#7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/latecommand/post.sh | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) 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 ## }}}