-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags #544433 + patch
thanks

Hello,

please apply my attached patch.

- --
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatth...@debian.org
        patr...@linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrTBtwACgkQ2XA5inpabMeIQQCfRaEFuIi1qu7wPYUqrNKJU4b2
6CcAnA4hbhiRyEZvZENQHLYqtHEbRbsG
=kcoh
-----END PGP SIGNATURE-----
diff -Naur glusterfs-2.0.4.orig/debian/glusterfs-server.postinst glusterfs-2.0.4/debian/glusterfs-server.postinst
--- glusterfs-2.0.4.orig/debian/glusterfs-server.postinst	1970-01-01 01:00:00.000000000 +0100
+++ glusterfs-2.0.4/debian/glusterfs-server.postinst	2009-10-12 12:34:39.000000000 +0200
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+	configure)
+		mkdir -p /var/log/glusterfs
+		chown root:root /var/log/glusterfs
+		chmod 0755 /var/log/glusterfs
+	;;
+
+	abort-upgrade|abort-remove|abort-deconfigure)
+	;;
+
+	*)
+		echo "postinst called with unknown argument \`$1'" >&2
+		exit 1
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Naur glusterfs-2.0.4.orig/debian/glusterfs-server.postrm glusterfs-2.0.4/debian/glusterfs-server.postrm
--- glusterfs-2.0.4.orig/debian/glusterfs-server.postrm	1970-01-01 01:00:00.000000000 +0100
+++ glusterfs-2.0.4/debian/glusterfs-server.postrm	2009-10-12 12:35:19.000000000 +0200
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+	purge)
+		rm -rf /var/log/glusterfs
+	;;
+	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+	;;
+	*)
+		echo "postrm called with unknown argument \`$1'" >&2
+		exit 1
+esac
+
+#DEBHELPER#
+
+exit 0

Attachment: glusterfs_create_logdir.diff.sig
Description: Binary data

Reply via email to