aboutsummaryrefslogtreecommitdiff
path: root/mail/assp/files/pkg-install.in
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-18 03:08:23 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-18 03:08:23 +0000
commitb54b2ee69164bbb05ee4cf74a4c4a39bb296cfd0 (patch)
treea8ce3fa2aafaff2bb6d2f198e7aadc47095a9535 /mail/assp/files/pkg-install.in
parent118d701134ba26f5f6a3feb07ba83022df588a2f (diff)
- Update to 1.2.2
- Use new style rc script name (no .sh suffix) - Add more OPTIONS PR: ports/100233 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=168112
Diffstat (limited to 'mail/assp/files/pkg-install.in')
-rw-r--r--mail/assp/files/pkg-install.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/assp/files/pkg-install.in b/mail/assp/files/pkg-install.in
index b264dbe864f1..5849ef05108d 100644
--- a/mail/assp/files/pkg-install.in
+++ b/mail/assp/files/pkg-install.in
@@ -2,5 +2,9 @@
if [ "$2" = "POST-INSTALL" ]; then
install -d -m 0700 -o %%ASSP_USER%% -g %%ASSP_GROUP%% %%ASSP_HOME%%
- ln -s $PKG_PREFIX/lib/assp/*.txt %%ASSP_HOME%%
+ [ ! -f %%ASSP_HOME%%/denysmtp.txt ] && touch %%ASSP_HOME%%/denysmtp.txt && chown %%ASSP_USER%%:%%ASSP_GROUP%% %%ASSP_HOME%%/denysmtp.txt
+ ln -s $PKG_PREFIX/lib/assp/*report.txt %%ASSP_HOME%%
+ ln -s $PKG_PREFIX/lib/assp/nodelay.txt %%ASSP_HOME%%
+ ln -s $PKG_PREFIX/lib/assp/redre.txt %%ASSP_HOME%%
+ ln -s $PKG_PREFIX/lib/assp/images %%ASSP_HOME%%
fi