Browse Source

added some tasksel DE options

pull/1/head
Ralph Rönnquist 1 year ago
parent
commit
41290c6a60
  1. 16
      script.sh

16
script.sh

@ -113,7 +113,21 @@ END
apt-get -y install libelogind0
apt-get -y purge dbus-user-session libnss-systemd systemd
[ "$DE" = "desktop" ] && apt-get -y install task-xfce-desktop
apt-get -y install tasksel
case "$DE" in
desktop)
apt-get -y install task-xfce-desktop
;;
xfce|mate|cinnamon|kde)
apt-get -y install task-$DE-desktop
;;
none)
:
;;
*)
env -u DEBIAN_FRONTEND tasksel # run interactively
;;
esac
# Clean out unused packages and reboot
apt-get -y autoremove --purge

Loading…
Cancel
Save