[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

Perhaps the Xsession should be
	
	for i in `grep -v "^#" '/etc/X11/window-managers'` do
or
	for i in `sed -e /^#/d '/etc/X11/window-managers'` do


> ========================== /etc/X11/Xsession =====================
[...]
>     for i in cat `/etc/X11/window-managers` do
[...]
> ==================================================================
> ========================== 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.
> /usr/X11R6/bin/fvwm
> /usr/X11R6/bin/twm
> EOF
> ==================================================================



Reply to: