diff options
author | pav <pav@FreeBSD.org> | 2009-01-06 05:05:49 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-06 05:05:49 +0800 |
commit | fb4c1b2e93bf0f4106c6b1895f7dd96af9db0bcb (patch) | |
tree | 1f6b633bd7844aa504f407e530e6892e38d0b9c5 /mail/courier | |
parent | 54aa386a510858774daf943c9ab8069883f977c7 (diff) | |
download | freebsd-ports-gnome-fb4c1b2e93bf0f4106c6b1895f7dd96af9db0bcb.tar.gz freebsd-ports-gnome-fb4c1b2e93bf0f4106c6b1895f7dd96af9db0bcb.tar.zst freebsd-ports-gnome-fb4c1b2e93bf0f4106c6b1895f7dd96af9db0bcb.zip |
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'mail/courier')
-rw-r--r-- | mail/courier/files/pkg-install.in | 14 |
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 |