Thanks, to ease your work hereby a patch to latest git master to import in
git if you are ok with the format and the change.
From ebbd5fa2ccdf483710172ee8d733f981ee2de2b7 Mon Sep 17 00:00:00 2001
From: Christian Ehrhardt <[email protected]>
Date: Thu, 13 Jul 2017 14:17:04 +0200
Subject: [PATCH] create default dict directories (Closes: #868232)

 * debian/postgresql-common.postinst: create default base dict
   directories (Closes: #868232)

Signed-off-by: Christian Ehrhardt <[email protected]>
---
 debian/changelog                  | 8 ++++++++
 debian/postgresql-common.postinst | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4383174..056b618 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+postgresql-common (185) UNRELEASED; urgency=medium
+
+  [ Christian Ehrhardt ]
+  * debian/postgresql-common.postinst: create default base dict
+    directories (Closes: #868232)
+
+ -- Christoph Berg <[email protected]>  Thu, 13 Jul 2017 14:12:43 +0200
+
 postgresql-common (184) unstable; urgency=high
 
   * debian/maintscripts-functions: Use deb-systemd-invoke instead of
diff --git a/debian/postgresql-common.postinst b/debian/postgresql-common.postinst
index a68a8d7..2346737 100644
--- a/debian/postgresql-common.postinst
+++ b/debian/postgresql-common.postinst
@@ -108,6 +108,9 @@ EOF
         ucf --purge $LRCONFIG
         ucfr --purge postgresql-common $LRCONFIG
     fi
+
+    # create default base dict directories
+    pg_updatedicts
 fi
 
 if [ "$1" = triggered ]; then
-- 
2.7.4

_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to