summaryrefslogtreecommitdiffstats
path: root/debian/postfix-sqlite.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postfix-sqlite.postinst')
-rw-r--r--debian/postfix-sqlite.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/postfix-sqlite.postinst b/debian/postfix-sqlite.postinst
index ebae590..e19f116 100644
--- a/debian/postfix-sqlite.postinst
+++ b/debian/postfix-sqlite.postinst
@@ -30,6 +30,10 @@ set -e
case "$1" in
configure)
addmap sqlite
+ if [ "$(postconf -h alias_database | cut -f1 -d:)" = "sqlite" ]; then
+ runnewaliases
+ fi
+ touch /var/spool/postfix/restart
;;
abort-upgrade|abort-remove|abort-deconfigure)