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

Bug#535624: Patch for xserver-xorg



tags 535624 +patch

thanks
Hi,

The attached patch fixes the problem, and maintains what I think is the
intended behaviour for sparc installations.

Thanks,
-- 
"Elegance is not a dispensable luxury but a quality that decides between
success and failure." -- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/
--- /var/lib/dpkg/info/xserver-xorg.postinst	2009-06-08 06:57:50.000000000 -0300
+++ /home/maxy/tmp/xserver-xorg.postinst	2009-07-22 13:35:00.000000000 -0300
@@ -1861,8 +1861,11 @@
 
 # Don't touch the config on upgrades except to deal with known issues with old
 # configs.
-if [ -z "$UPGRADE" ] || dpkg --compare-versions "$2" le "1:7.0.14" || \
-  [ "$ARCHITECTURE" = sparc ] && dpkg --compare-versions "$2" lt-nl 1:7.3+19; then
+echo "Version: $2"
+if [ -z "$UPGRADE" ] || dpkg --compare-versions "$2" le "1:7.0.14" ||
+   ( [ "$ARCHITECTURE" = sparc ] && 
+     dpkg --compare-versions "$2" lt-nl 1:7.3+19 )
+then
   # compare the current and stored checksums; if they do not match, assume
   # that's the way the user wants it.  if we're reconfiguring, overwrite
   # it regardless and back it up.

Reply to: