diff options
author | Joerg Schirottke <master@kanotix.com> | 2012-03-05 00:27:20 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-05 17:19:48 +0100 |
commit | 67531aca58d5eed1253cb54e422b712c23144f87 (patch) | |
tree | 1a3d1a4e2e9cf015cd0732dd68659550245d50c5 /config | |
parent | 385fcc3ec334eb782f1cda8367946af698a70c1b (diff) | |
download | kanotix-67531aca58d5eed1253cb54e422b712c23144f87.zip kanotix-67531aca58d5eed1253cb54e422b712c23144f87.tar.gz |
hotfix for live config 3: remove-xinit hook
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/remove-xinit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/remove-xinit b/config/chroot_local-hooks/remove-xinit new file mode 100755 index 0000000..22e14fd --- /dev/null +++ b/config/chroot_local-hooks/remove-xinit @@ -0,0 +1,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 || : |