Ensure to have systemd basic packages
Such as dbus and libpam-systemd. Also ensure to purge useless configuration files.
This commit is contained in:
parent
8b38c181d3
commit
1585e6f84e
Binary file not shown.
|
@ -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'
|
||||
|
||||
### }}}
|
||||
|
||||
## }}}
|
||||
|
|
Loading…
Reference in New Issue