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

X Strike Force X.Org X11 SVN commit: r2096 - trunk/debian/xorg/debian



Author: dnusinow
Date: 2006-05-04 22:16:37 -0400 (Thu, 04 May 2006)
New Revision: 2096

Modified:
   trunk/debian/xorg/debian/x11-common.postinst.in
Log:
Better fix from Steve Langasek

Modified: trunk/debian/xorg/debian/x11-common.postinst.in
===================================================================
--- trunk/debian/xorg/debian/x11-common.postinst.in	2006-05-05 02:14:03 UTC (rev 2095)
+++ trunk/debian/xorg/debian/x11-common.postinst.in	2006-05-05 02:16:37 UTC (rev 2096)
@@ -117,7 +117,7 @@
 fi
 
 # Clean up my idiocy
-if dpkg --compare-versions "$2" eq "1:7.0.16"; then
+if [ -n "$2" ] && dpkg --compare-versions "$2" eq "1:7.0.16"; then
   if [ -e "/etc/X11/Xsession.xfree86" ] && [ ! -e "/etc/X11/Xsession" ]; then
     mv "/etc/X11/Xsession.xfree86" "/etc/X11/Xsession"
   fi



Reply to: