[debian-edu-commits] debian-edu/upstream/ 01/01: Fix installation problem when sitesummary is preseeded to update munin configuration. Make sure /etc/sitesummary/ is created when postinst try to create a file there.
Petter Reinholdtsen
pere at moszumanska.debian.org
Wed Sep 10 12:40:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository sitesummary.
commit 6362b1eb70985017505819d7a43ee9323ef2be3a
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Sep 10 14:40:05 2014 +0200
Fix installation problem when sitesummary is preseeded to update munin configuration. Make sure /etc/sitesummary/ is created when postinst try to create a file there.
---
debian/changelog | 8 ++++++++
debian/sitesummary.postinst | 1 +
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 06020b9..51991ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sitesummary (0.1.17) UNRELEASED; urgency=low
+
+ * Fix installation problem when sitesummary is preseeded to update
+ munin configuration. Make sure /etc/sitesummary/ is created when
+ postinst try to create a file there.
+
+ -- Petter Reinholdtsen <pere at debian.org> Wed, 10 Sep 2014 14:39:58 +0200
+
sitesummary (0.1.16) unstable; urgency=high
* Implement workaround for the failing installation when apache and
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index e489564..031b9f4 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -63,6 +63,7 @@ case "$1" in
if [ ! -f $config ] ; then
db_get sitesummary/replace-munin-config
if [ true = "$RET" ] ; then
+ mkdir -p /etc/sitesummary
echo 'MUNINDIR=/etc/munin' > $config
fi
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git
More information about the debian-edu-commits
mailing list