[23407] in Source-Commits
/svn/athena r23061 - trunk/debathena/config/cupsys-hack/debian
daemon@ATHENA.MIT.EDU (broder@MIT.EDU)
Sun Jul 6 23:49:10 2008
Date: Sun, 6 Jul 2008 23:48:39 -0400 (EDT)
From: broder@MIT.EDU
Message-Id: <200807070348.XAA28667@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2008-07-06 23:48:38 -0400 (Sun, 06 Jul 2008)
New Revision: 23061
Modified:
trunk/debathena/config/cupsys-hack/debian/changelog
trunk/debathena/config/cupsys-hack/debian/postinst
Log:
More changes to debathena-cupsys-hack to handle the cupsys -> cups rename
Modified: trunk/debathena/config/cupsys-hack/debian/changelog
===================================================================
--- trunk/debathena/config/cupsys-hack/debian/changelog 2008-07-07 03:09:08 UTC (rev 23060)
+++ trunk/debathena/config/cupsys-hack/debian/changelog 2008-07-07 03:48:38 UTC (rev 23061)
@@ -1,3 +1,9 @@
+debathena-cupsys-hack (1.2) unstable; urgency=low
+
+ * More changes for the cupsys to cups rename
+
+ -- Evan Broder <broder@mit.edu> Sun, 06 Jul 2008 23:47:40 -0400
+
debathena-cupsys-hack (1.1) unstable; urgency=low
* Handle rename of cupsys to cups in Debian sid.
Modified: trunk/debathena/config/cupsys-hack/debian/postinst
===================================================================
--- trunk/debathena/config/cupsys-hack/debian/postinst 2008-07-07 03:09:08 UTC (rev 23060)
+++ trunk/debathena/config/cupsys-hack/debian/postinst 2008-07-07 03:48:38 UTC (rev 23061)
@@ -22,7 +22,7 @@
configure)
file="/etc/cups/cupsd.conf"
truename="$(/usr/sbin/dpkg-divert --truename "$file")"
- dpkg-query --showformat='${Conffiles}\n' --show "cupsys" | \
+ dpkg-query --showformat='${Conffiles}\n' --show "cups*" | \
grep -F " $file " | \
sed -n "s,^ $file \([0-9a-f]*\)$,\1 $truename, p" | \
md5sum -c