summaryrefslogtreecommitdiff
path: root/mail/dovecot/files/dovecot.sh.sample
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-08 16:08:14 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-08 16:08:14 +0000
commita2d84b38118a1c5a73fc4f676328f1e3f1a44f95 (patch)
tree5aae7889a124881cba32a067a220c54e5a8ca5b9 /mail/dovecot/files/dovecot.sh.sample
parent- Install additional documentation (diff)
- Update to 0.99.10.4
- Improve pkg-install script (create /var/dovecot tree) - Add pkg-deinstall to cleanup dovecot directories and remove created uids at de-install; ask to stop dovecot if it's still running - Make pkg-message obey PREFIX/DOCSDIR - Make use of USE_OPENLDAP, rename WITH_LDAP2 to more standard WITH_LDAP - Remove 'Feature Autodetection'. If you want the port built with extra dependencies, tell it: avoid bloat - Update the rc.d script to work with relative addressing (e.g. './dovecot.sh start' works.) - Assign maintainership to the submitter PR: 59762 Submitted by: Robin Breathe <robin@isometry.net>
Notes
Notes: svn path=/head/; revision=95382
Diffstat (limited to 'mail/dovecot/files/dovecot.sh.sample')
-rw-r--r--mail/dovecot/files/dovecot.sh.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/dovecot/files/dovecot.sh.sample b/mail/dovecot/files/dovecot.sh.sample
index 625021fa6def..e7c235c8d43a 100644
--- a/mail/dovecot/files/dovecot.sh.sample
+++ b/mail/dovecot/files/dovecot.sh.sample
@@ -1,6 +1,6 @@
#!/bin/sh
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
+if ! PREFIX=$(expr $(realpath $(dirname $0)) : "\(.*\)/etc/rc\.d\$"); then
echo "$0: Cannot determine the PREFIX" >&2
exit 1
fi