[Pkg-cups-devel] r703 - in cupsys/trunk: . debian
Martin Pitt
mpitt at alioth.debian.org
Mon Mar 10 17:06:56 UTC 2008
Author: mpitt
Date: Mon Mar 10 17:06:56 2008
New Revision: 703
Log:
* debian/cupsys.preinst: Only chown /var/run/cups if it exists. (LP #156634)
Modified:
cupsys/trunk/ (props changed)
cupsys/trunk/debian/changelog
cupsys/trunk/debian/cupsys.preinst
Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog (original)
+++ cupsys/trunk/debian/changelog Mon Mar 10 17:06:56 2008
@@ -8,8 +8,9 @@
(Closes: #376580)
* Add debian/patches/pbmprint.dpatch: Fix printing of PBM files, thanks to
Eugeniy Meshcheryakov! (Closes: #313536)
+ * debian/cupsys.preinst: Only chown /var/run/cups if it exists. (LP #156634)
- -- Martin Pitt <mpitt at debian.org> Fri, 07 Mar 2008 22:30:32 +0100
+ -- Martin Pitt <mpitt at debian.org> Mon, 10 Mar 2008 18:06:17 +0100
cupsys (1.3.6-1) unstable; urgency=low
Modified: cupsys/trunk/debian/cupsys.preinst
==============================================================================
--- cupsys/trunk/debian/cupsys.preinst (original)
+++ cupsys/trunk/debian/cupsys.preinst Mon Mar 10 17:06:56 2008
@@ -37,7 +37,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