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

Martin Pitt mpitt at costa.debian.org
Wed Apr 12 15:32:05 UTC 2006


Author: mpitt
Date: Wed Apr 12 15:32:04 2006
New Revision: 158

Modified:
   cupsys/branches/cups-1.2/debian/changelog
   cupsys/branches/cups-1.2/debian/cupsys.preinst
Log:
* debian/cupsys.preinst: Remove obsolete /etc/cups/certs symlink on upgrades.

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 15:32:04 2006
@@ -78,8 +78,9 @@
     of #280718)
   * debian/rules, debian/cupsys.postinst: Remove obsolete /etc/cups/certs and
     /var/lib/cups/certs (certificates are managed in /var/run/certs now).
+  * debian/cupsys.preinst: Remove obsolete /etc/cups/certs symlink on upgrades.
 
- -- Martin Pitt <mpitt at debian.org>  Wed, 12 Apr 2006 17:20:01 +0200
+ -- Martin Pitt <mpitt at debian.org>  Wed, 12 Apr 2006 17:30:39 +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 15:32:04 2006
@@ -48,6 +48,9 @@
 	if [ -L /etc/cups/pdftops.conf -a ! -e /etc/cups/pdftops.conf ]; then
 	    rm -f /etc/cups/pdftops.conf
 	fi
+
+	# Remove obsolete /etc/cups/certs
+	[ -L /etc/cups/certs ] && rm -f /etc/cups/certs || true
     ;;
 
     abort-upgrade)



More information about the Pkg-cups-devel mailing list