[Pkg-cups-devel] r152 - cupsys/branches/cups-1.2/debian

Martin Pitt mpitt at costa.debian.org
Wed Apr 12 14:25:01 UTC 2006


Author: mpitt
Date: Wed Apr 12 14:25:00 2006
New Revision: 152

Modified:
   cupsys/branches/cups-1.2/debian/changelog
   cupsys/branches/cups-1.2/debian/cupsys.preinst
Log:
* debian/cupsys.preinst: Remove dangling /etc/cups/pdftops.conf symlink on
  upgrades to unbreak printing with poppler-utils.



Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog	(original)
+++ cupsys/branches/cups-1.2/debian/changelog	Wed Apr 12 14:25:00 2006
@@ -63,8 +63,10 @@
   * Add debian/patches/09_runasuser_autoconf.dpatch: autoconf changes for
     09_runasuser_fixes.dpatch changes.
   * debian/pdftops: Fix reading from stdin (https://launchpad.net/bugs/17124)
+  * debian/cupsys.preinst: Remove dangling /etc/cups/pdftops.conf symlink on
+    upgrades to unbreak printing with poppler-utils.
 
- -- Martin Pitt <mpitt at debian.org>  Wed, 12 Apr 2006 15:34:06 +0200
+ -- Martin Pitt <mpitt at debian.org>  Wed, 12 Apr 2006 16:23:32 +0200
 
 cupsys (1.1.99.b1.r4885-1) experimental; urgency=low
 

Modified: cupsys/branches/cups-1.2/debian/cupsys.preinst
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.preinst	(original)
+++ cupsys/branches/cups-1.2/debian/cupsys.preinst	Wed Apr 12 14:25:00 2006
@@ -43,6 +43,11 @@
 	if [ -e /var/lib/cups/logs -a ! -L /var/lib/cups/logs ]; then
 	    rmdir /var/lib/cups/logs || true
 	fi
+
+	# Remove dangling pdftops.conf symlink, which is obsolete anyway
+	if [ -L /etc/cups/pdftops.conf -a ! -e /etc/cups/pdftops.conf ]; then
+	    rm -f /etc/cups/pdftops.conf
+	fi
     ;;
 
     abort-upgrade)



More information about the Pkg-cups-devel mailing list