summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/remove-xinit
blob: 22e14fd3a110e74fd7d99786c9d494ed4b471f9c (plain)
1
2
3
4
5
6
#!/bin/sh
_X11=false
for x in gdm gdm3 kdm lightdm lxdm nodm slim; do
 [ -f /var/lib/dpkg/info/$x.list ] && _X11=true || :
done
[ "$_X11" = "true" ] && rm -vf /lib/live/config/014-xinit || :