[Pkg-cups-devel] r701 - in cupsys/branches/cups-1.2-ubuntu: . debian
Martin Pitt
mpitt at alioth.debian.org
Mon Mar 10 17:05:36 UTC 2008
Author: mpitt
Date: Mon Mar 10 17:05:36 2008
New Revision: 701
Log:
* debian/cupsys.preinst:
- only chown /var/run/cups if it exists (LP: #156634)
Modified:
cupsys/branches/cups-1.2-ubuntu/ (props changed)
cupsys/branches/cups-1.2-ubuntu/debian/changelog
cupsys/branches/cups-1.2-ubuntu/debian/cupsys.preinst
Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog (original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog Mon Mar 10 17:05:36 2008
@@ -1,3 +1,10 @@
+cupsys (1.3.6-1ubuntu2) hardy; urgency=low
+
+ * debian/cupsys.preinst:
+ - only chown /var/run/cups if it exists (LP: #156634)
+
+ -- Michael Vogt <michael.vogt at ubuntu.com> Mon, 10 Mar 2008 11:25:29 +0100
+
cupsys (1.3.6-1ubuntu1) hardy; urgency=low
* Merge with Debian unstable to bring in the new upstream bugfix-only
Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.preinst
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.preinst (original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.preinst Mon Mar 10 17:05:36 2008
@@ -41,7 +41,10 @@
# fix 'cupsys' -> 'root' file owner mode transition
if dpkg --compare-versions "$2" lt-nl '1.3.0-3'; then
- chown -R root /etc/cups /var/log/cups /var/run/cups /var/cache/cups /var/spool/cups
+ if [ -d /var/run/cups ]; then
+ chown -R root /var/run/cups
+ fi
+ chown -R root /etc/cups /var/log/cups /var/cache/cups /var/spool/cups
fi
;;
More information about the Pkg-cups-devel
mailing list