summaryrefslogtreecommitdiff
path: root/mail/courier
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 21:05:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 21:05:49 +0000
commitf28d272707d9d301a0ddd999c7b84b81c86e9a0a (patch)
tree90d1cb3f6a475cff114d10d1718e8a277c726a87 /mail/courier
parentBye bye xf86-video-i810. Everybody should have switched to xf86-video-intel (diff)
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225300
Diffstat (limited to 'mail/courier')
-rw-r--r--mail/courier/files/pkg-install.in14
1 files changed, 0 insertions, 14 deletions
diff --git a/mail/courier/files/pkg-install.in b/mail/courier/files/pkg-install.in
index 8a8adec92bf6..4edbdd45361c 100644
--- a/mail/courier/files/pkg-install.in
+++ b/mail/courier/files/pkg-install.in
@@ -52,12 +52,6 @@ replace() {
}
if [ ":$2" = ":POST-INSTALL" ]; then
- if [ -x /sbin/sysctl ]; then
- OSVERSION=`/sbin/sysctl -n kern.osreldate`
- else
- OSVERSION=`/usr/sbin/sysctl -n kern.osreldate`
- fi
- if [ ${OSVERSION} -ge 400014 ]; then
if yesno "Would you like to activate Courier in /etc/mail/mailer.conf" n; then
mv -f /etc/mail/mailer.conf /etc/mail/mailer.conf.old
echo "#" > /etc/mail/mailer.conf
@@ -70,12 +64,4 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "newaliases ${PKG_PREFIX}/sbin/makealiases" >> /etc/mail/mailer.conf
echo "Done."
fi
- else
- if yesno "Would you like to replace {sendmail,mailq,newaliases} with Courier versions" n; then
- replace /usr/sbin/sendmail ${PKG_PREFIX}/bin/sendmail
- replace /usr/bin/mailq ${PKG_PREFIX}/bin/mailq
- replace /usr/bin/newaliases ${PKG_PREFIX}/sbin/makealiases
- echo "Done."
- fi
- fi
fi