From 6362b1eb70985017505819d7a43ee9323ef2be3a Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Wed, 10 Sep 2014 14:40:05 +0200 Subject: 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 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 -- cgit v1.2.3