Bug#382418: xdm depends on wrong location
Package: xdm
Version: 1.0.5-1
The program xdm is installed as /usr/bin/xdm. However, the rc
script requires /etc/X11/default-display-manager to contain
the string /usr/bin/X11/xdm.
I suggest to use something like
-DAEMON=/usr/bin/X11/xdm
+DAEMON=/usr/bin/xdm
+DAEMON_OLD=/usr/bin/X11/xdm
...
if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
[ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
- [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
+ [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" -o \
+ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON_OLD" ]; then
Regards,
Joey
--
Experience is something you don't get until just after you need it.
Please always Cc to me when replying to me on the lists.
Reply to: