aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-09-10 14:40:05 +0200
committerPetter Reinholdtsen <pere@hungry.com>2014-09-10 14:40:05 +0200
commit6362b1eb70985017505819d7a43ee9323ef2be3a (patch)
treef857c91c3b564f56a8f12ebbea34644627e742a7
parentc47e02e8ebbd5396663fdd1a6a87de62de771bdd (diff)
downloadsitesummary-6362b1eb70985017505819d7a43ee9323ef2be3a.tar.gz
sitesummary-6362b1eb70985017505819d7a43ee9323ef2be3a.tar.bz2
sitesummary-6362b1eb70985017505819d7a43ee9323ef2be3a.tar.xz
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.
-rw-r--r--debian/changelog8
-rw-r--r--debian/sitesummary.postinst1
2 files changed, 9 insertions, 0 deletions
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@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