[23314] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22970 - trunk/debathena/config/cupsys-hack/debian

daemon@ATHENA.MIT.EDU (broder@MIT.EDU)
Fri May 9 21:02:07 2008

Date: Fri, 9 May 2008 21:01:36 -0400 (EDT)
From: broder@MIT.EDU
Message-Id: <200805100101.VAA15951@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2008-05-09 21:01:35 -0400 (Fri, 09 May 2008)
New Revision: 22970

Modified:
   trunk/debathena/config/cupsys-hack/debian/postinst
Log:
Sorry - screwed up the sed expression


Modified: trunk/debathena/config/cupsys-hack/debian/postinst
===================================================================
--- trunk/debathena/config/cupsys-hack/debian/postinst	2008-05-10 00:55:59 UTC (rev 22969)
+++ trunk/debathena/config/cupsys-hack/debian/postinst	2008-05-10 01:01:35 UTC (rev 22970)
@@ -23,8 +23,8 @@
 	file="/etc/cups/cupsd.conf"
 	truename="$(/usr/sbin/dpkg-divert --truename "$file")"
 	dpkg-query --showformat='${Conffiles}\n' --show "cupsys" | \
-	    grep -F " $truename " | \
-	    sed -n "s,^ $file \([0-9a-f]*\)$,\2  $truename, p" | \
+	    grep -F " $file " | \
+	    sed -n "s,^ $file \([0-9a-f]*\)$,\1  $truename, p" | \
 	    md5sum -c
 	chmod o+r $file
     ;;


home help back first fref pref prev next nref lref last post