Remove tasksel only if no X session was installed (see #17).

This commit is contained in:
Jeremy Gardais 2018-01-02 12:25:18 +01:00
parent 6349f8393e
commit 7436979bb1
3 changed files with 9 additions and 1 deletions

View File

@ -8,7 +8,7 @@
* Gnome preseed is now only available with UEFI (see #20).
### Fix
* Leave standard task in peace to be able to have a X session for user's nodes… (see #17).
* Remove tasksel only if no X session was installed (see #17).
* Update doc about Debian distribution name and remove useless entries (oldStable).
* No longer define zsh as default shell for root.
* Installation of aptitude, puppet, tmux and zsh move to latecommand script (post.sh).

Binary file not shown.

View File

@ -57,6 +57,14 @@ aptitude -y install openssh-server openssh-sftp-server
# Ansible dependencies
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
aptitude -y remove tasksel tasksel-data
fi
### }}}
## }}}
### Rsyslog {{{