diff --git a/scripts/latecommand.tar.gz b/scripts/latecommand.tar.gz index b2dd4f5..53209c7 100644 Binary files a/scripts/latecommand.tar.gz and b/scripts/latecommand.tar.gz differ diff --git a/scripts/latecommand/post.sh b/scripts/latecommand/post.sh index c196dfd..e81e85a 100755 --- a/scripts/latecommand/post.sh +++ b/scripts/latecommand/post.sh @@ -29,6 +29,9 @@ apt -y full-upgrade # Ensure to have some basic packages apt -y install aptitude tmux zsh +# Ensure to have some systemd basic packages +aptitude -y install dbus libpam-systemd + # Remove NFS and rpcbind aptitude -y remove nfs-common rpcbind @@ -70,10 +73,13 @@ aptitude -y install python-apt ### Tasksel {{{ # If tasksel and tasksel-data are the only task* relative packages -if [ "$(dpkg -l | grep task | wc -l)" -eq "2" ]; then +if [ "$(dpkg -l | grep -c task)" -eq "2" ]; then aptitude -y remove tasksel tasksel-data fi +# purge configuration files +aptitude -y purge '~c' + ### }}} ## }}}