[Pkg-cups-devel] r510 - cupsys/trunk/debian

Martin Pitt mpitt at alioth.debian.org
Thu Aug 2 12:50:53 UTC 2007


Author: mpitt
Date: Thu Aug  2 12:50:53 2007
New Revision: 510

Log:
* debian/cupsys.{pre,post}inst: Remove obsolete transition bits of certs.

Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/cupsys.postinst
   cupsys/trunk/debian/cupsys.preinst

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Thu Aug  2 12:50:53 2007
@@ -43,8 +43,9 @@
    * debian/control, debian/rules: Remove references to libcupsys2-gnutls10,
      since it's a transitional package in Etch and not relevant any more in
      Lenny.
+  * debian/cupsys.{pre,post}inst: Remove obsolete transition bits of certs.
 
- -- Kenshi Muto <kmuto at debian.org>  Thu, 02 Aug 2007 14:47:20 +0200
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Thu, 02 Aug 2007 14:50:29 +0200
 
 cupsys (1.2.12-1) unstable; urgency=low
 

Modified: cupsys/trunk/debian/cupsys.postinst
==============================================================================
--- cupsys/trunk/debian/cupsys.postinst	(original)
+++ cupsys/trunk/debian/cupsys.postinst	Thu Aug  2 12:50:53 2007
@@ -45,16 +45,6 @@
 	    deluser root lpadmin || true
 	fi
 
-	if [ -d /etc/cups/certs ]; then
-	    rm -rf /etc/cups/certs
-	fi
-	if [ -d /var/spool/cups/certs ]; then
-	    mv /var/spool/cups/certs/* /var/run/cups/certs || true
-	    rm -rf /var/spool/cups/certs
-	fi
-	if [ -d /var/lib/cups/certs ]; then
-	    rm -rf /va/lib/cups/certs
-	fi
 	if [ -L /usr/share/ppd/cups-transitional-dir ]; then
 	    rm -f /usr/share/ppd/cups-transitional-dir
 	fi

Modified: cupsys/trunk/debian/cupsys.preinst
==============================================================================
--- cupsys/trunk/debian/cupsys.preinst	(original)
+++ cupsys/trunk/debian/cupsys.preinst	Thu Aug  2 12:50:53 2007
@@ -49,9 +49,6 @@
 	    rm -f /etc/cups/pdftops.conf
 	fi
 
-	# Remove obsolete /etc/cups/certs
-	[ -L /etc/cups/certs ] && rm -f /etc/cups/certs || true
-
         # fix 'cupsys' -> 'root' file owner mode transition
 	if dpkg --compare-versions "$2" lt-nl '1.2.12-2'; then
             chown -R root /etc/cups /var/log/cups /var/run/cups /var/cache/cups /var/spool/cups



More information about the Pkg-cups-devel mailing list