Bug#4012: xbase: `window-managers' was un-correctly generated
I believe that the 3 first extra explanatory lines in file `xbase.postinst'
of this package should be removed as they trigger unexpected result in some
cases (can go into an infinite loop as Xsession will call itself if you
start X from /etc/X11 for instance).
I'm including the offending portions of the corresponding files here after.
Thanks for the efforts of all Debian's developers and keep the good work
========================== /etc/X11/Xsession =====================
if [ -e /etc/X11/window-managers ]
for i in cat `/etc/X11/window-managers` do
if [ -x $i ]
========================== xbase.postinst ========================
cat >/etc/X11/window-managers <<EOF
# This file contains a list of available window managers. The default
# Xsession file will start the first window manager that it can
# in this list.