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

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



Author: dnusinow
Date: 2006-04-24 23:58:20 -0400 (Mon, 24 Apr 2006)
New Revision: 1966

Modified:
   trunk/debian/xorg/debian/xserver-xorg.postinst.in
Log:
Re-use already used variables

Modified: trunk/debian/xorg/debian/xserver-xorg.postinst.in
===================================================================
--- trunk/debian/xorg/debian/xserver-xorg.postinst.in	2006-04-25 03:55:31 UTC (rev 1965)
+++ trunk/debian/xorg/debian/xserver-xorg.postinst.in	2006-04-25 03:58:20 UTC (rev 1966)
@@ -817,8 +817,8 @@
     rm -f "$NEW_XORGCONFIG"
   else
     # I'm going to get in so much shit for this...
-    warn "$XORGCONFIG has been customized, but we need to make updates. Backing up your config to $XORGCONFIG.old. If we screw something up, restore using this file."
-    cp $XORGCONFIG $XORGCONFIG.old
+    warn "$XORGCONFIG has been customized, but we need to make updates. Backing up your config to $BACKUP_XORGCONFIG. If we screw something up, restore using this file."
+      cp "$XORGCONFIG" "$BACKUP_XORGCONFIG"
     # Dump obsolete modules
     sed -i -e '/^.*Load.*glcore.*$/d' -e '/^.*Load.*speedo.*$/d' $XORGCONFIG
     # Change font paths for the fonts xorg-x11 used to ship



Reply to: