aboutsummaryrefslogtreecommitdiffstats
path: root/dfly-update
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-01-06 13:50:02 +0800
committerAaron LI <aly@aaronly.me>2019-01-08 19:18:28 +0800
commit2848c8beddb237e4c9803560cbb08dd173a94fda (patch)
tree1f1f21b08876e1a88fb8bb35957a05ce4342c7fc /dfly-update
parent63ed60b1d125025f39a1a5209d7e537fa69c2043 (diff)
downloaddfly-update-2848c8beddb237e4c9803560cbb08dd173a94fda.tar.bz2
Rebuild mail alias db
Diffstat (limited to 'dfly-update')
-rwxr-xr-xdfly-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/dfly-update b/dfly-update
index f6ac8ea..bfe2206 100755
--- a/dfly-update
+++ b/dfly-update
@@ -352,6 +352,8 @@ postupgrade() {
cap_mkdb /etc/login.conf
echo "Rebuild password database ..."
pwd_mkdb -p /etc/master.passwd
+ echo "Rebuild mail aliases db ..."
+ newaliases
echo "Rebuild whatis database ..."
makewhatis
echo "Rebuild shared library cache ..."