Bug#1410: xbase maintainer script problems
Package: xbase
Version: 3.1.2-3
Before this installation I already had an /etc/XF86Config, as well as
the xdm links in /etc/rc*.d. However, the postinst still asked me if
I wanted to create them:
Setting up xbase ...
Running mkfontdir in /usr/X11R6/lib/X11/fonts/misc... done.
Do you want to create the XFree86 configuration file (y/n) [y]? n
Okay. To create it at a later date, run `xf86config'.
There are three methods that can be used to start the X Window System:
`startx', `xdm', and `xinit'. We recommend the use of `xdm', but you
may choose which you prefer.
If you want to start the X Window System using `xdm', I can set up the
system so that at boot-time `xdm' is automatically started.
Should I do this (y/n) [y]? n
Okay, not enabling `xdm'.
You may now start the X Window System.
That last message is confusing. What does it mean ? (It may not have
been appropriate in my situation, but what is a naive user supposed to
do to `start the X Window System' ?)
The preinst/prerm are rather verbose:
Preparing to replace xbase (using ./x11/xbase-3.1.2-3.deb) ...
Stopping `/usr/X11R6/bin/xdm'.
no /usr/X11R6/bin/xdm found; none killed.
Stopping `/usr/X11R6/bin/xfs'.
no /usr/X11R6/bin/xfs found; none killed.
Stopping `/usr/X11R6/bin/xdm'.
no /usr/X11R6/bin/xdm found; none killed.
Stopping `/usr/X11R6/bin/xfs'.
no /usr/X11R6/bin/xfs found; none killed.
This should probably just do either start-stop-daemon --quiet or
--verbose, rather than `echo' followed by start-stop-daemon without
--quiet or --verbose.
Ian.
Reply to: