summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:56:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-01-21 20:56:12 +0000
commit06155c106bc3f6d31869938cb53ba23cb8e106bb (patch)
tree491cba7c8d9c4030acdbbcccb2916e986c8d6f7b
parentAdding updated French debconf translations from Jean-Philippe Mengual <mengua... (diff)
downloadopen-infrastructure-storage-tools-06155c106bc3f6d31869938cb53ba23cb8e106bb.tar.xz
open-infrastructure-storage-tools-06155c106bc3f6d31869938cb53ba23cb8e106bb.zip
Creating missing directory in /etc in postinst when required (Closes: #924106).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/open-infrastructure-ceph-tools.postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/open-infrastructure-ceph-tools.postinst b/debian/open-infrastructure-ceph-tools.postinst
index 609e1b2..6b7e464 100755
--- a/debian/open-infrastructure-ceph-tools.postinst
+++ b/debian/open-infrastructure-ceph-tools.postinst
@@ -42,6 +42,7 @@ case "${1}" in
if [ ! -e "${CONFFILE}" ]
then
+ mkdir -p /etc/open-infrastructure
cat > "${CONFFILE}" << EOF
# /etc/open-infrastructure/ceph-tools.conf