[Pkg-utopia-commits] r3376 - /packages/unstable/avahi/debian/avahi-daemon.postrm

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Jan 13 23:32:11 UTC 2010


Author: biebl
Date: Wed Jan 13 23:32:10 2010
New Revision: 3376

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3376
Log:
Reset permissions if directory can't be deleted.

Modified:
    packages/unstable/avahi/debian/avahi-daemon.postrm

Modified: packages/unstable/avahi/debian/avahi-daemon.postrm
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/avahi/debian/avahi-daemon.postrm?rev=3376&op=diff
==============================================================================
--- packages/unstable/avahi/debian/avahi-daemon.postrm (original)
+++ packages/unstable/avahi/debian/avahi-daemon.postrm Wed Jan 13 23:32:10 2010
@@ -7,6 +7,8 @@
 if [ "$1" = "purge" ] ; then
         deluser --quiet --system avahi > /dev/null || true
         delgroup --quiet --system avahi > /dev/null || true
-        rmdir --ignore-fail-on-non-empty /var/run/avahi-daemon
+        # Cleanup /var/run/avahi-daemon, see #448539
+        f=/var/run/avahi-daemon
+        rmdir "$f" || { chown root:root "$f" && chmod 00700 "$f"; }
 fi
 




More information about the Pkg-utopia-commits mailing list