From 06155c106bc3f6d31869938cb53ba23cb8e106bb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 21 Jan 2020 21:56:12 +0100 Subject: Creating missing directory in /etc in postinst when required (Closes: #924106). Signed-off-by: Daniel Baumann --- debian/open-infrastructure-ceph-tools.postinst | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3