Remove tasksel #10

This commit is contained in:
Jeremy Gardais 2017-08-20 15:51:14 +02:00
parent 03b1bcd3e1
commit 488f0d406d
1 changed files with 16 additions and 4 deletions

View File

@ -35,8 +35,7 @@ rm -f /var/log/daemon.log /var/log/syslog /var/log/messages
# Restart Rsyslog service
/etc/init.d/rsyslog restart
### Logrotate ###
### Logrotate {{{
# Install new Logrotate configuration
if [ -f "${LOGROTATE_FILE}" ]; then
@ -51,11 +50,24 @@ mkdir -p -- /var/log/old_logs
# Create the log directory for journald (Systemd), need the configuration Storage=(auto|persistent)
mkdir -p -- /var/log/journal
# }}}
### NFS ###
### NFS {{{
# Remove NFS and rpcbind
NFS_PKG_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}"
# Ensure to reinstall openssh-server
SSH_PKG_INSTALL="openssh-server openssh-sftp-server"
aptitude -y install "${SSH_PKG_INSTALL}"
# }}}
exit 0