summaryrefslogtreecommitdiff
path: root/community/opensmtpd/opensmtpd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/opensmtpd/opensmtpd.install')
-rw-r--r--community/opensmtpd/opensmtpd.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/opensmtpd/opensmtpd.install b/community/opensmtpd/opensmtpd.install
new file mode 100644
index 000000000..0e3d8c0e1
--- /dev/null
+++ b/community/opensmtpd/opensmtpd.install
@@ -0,0 +1,14 @@
+# arg 1: the new package version
+# arg 2: the old package version
+
+# arg 1: the new package version
+post_install() {
+ makemap -t aliases /etc/aliases
+}
+
+# arg 1: the old package version
+post_remove() {
+ rm -f /etc/aliases.db
+}
+
+# vim:set ts=2 sw=2 et: