Author: branden Date: 2003-09-10 05:35:00 -0500 (Wed, 10 Sep 2003) New Revision: 495
Modified: trunk/debian/xdm.preinst.in Log: debian/xdm.preinst.in: upon reviewing Policy section 6.5, I think it's acceptable to remove the xdm-greeter alternative when $1 is install, as long as $2 still passes the version check Modified: trunk/debian/xdm.preinst.in =================================================================== --- trunk/debian/xdm.preinst.in 2003-09-10 10:28:42 UTC (rev 494) +++ trunk/debian/xdm.preinst.in 2003-09-10 10:35:00 UTC (rev 495) @@ -20,7 +20,7 @@ fi # got rid of the shared libXdmGreeter in 4.0.3 - if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "4.0.3"; then + if dpkg --compare-versions "$2" lt "4.0.3-1"; then if update-alternatives --display xdm-greeter | \ fgrep -q /usr/X11R6/lib/libXdmGreet.so.1; then update-alternatives --remove xdm-greeter /usr/X11R6/lib/libXdmGreet.so.1