diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-04-21 04:05:18 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-04-21 04:05:18 +0000 |
commit | ed149270e9a1e42bf084aca81e310969cc49f3d5 (patch) | |
tree | 167a1e35a4605b8235f6091151dbb92274620ce0 | |
parent | Gosh, an enhancement I put in was commented out by my mistake. (diff) |
Moved a part of post-install to pkg/INSTALL.
Notes
Notes:
svn path=/head/; revision=6262
-rw-r--r-- | mail/youbin/Makefile | 7 | ||||
-rw-r--r-- | mail/youbin/pkg-install | 10 |
2 files changed, 12 insertions, 5 deletions
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile index a65393625a2c..5c0bb3efca13 100644 --- a/mail/youbin/Makefile +++ b/mail/youbin/Makefile @@ -3,7 +3,7 @@ # Date created: 09 Aug 1996 # Whom: Masafumi NAKANE <max@FreeBSD.ORG> # -# $Id: Makefile,v 1.6 1996/10/09 12:50:54 max Exp $ +# $Id: Makefile,v 1.7 1996/11/10 21:32:56 obrien Exp $ # DISTNAME= youbin-2.13 @@ -31,9 +31,6 @@ post-install: echo "fi" >> ${STARTUP_SCRIPT} ; \ chmod 755 ${STARTUP_SCRIPT} ; \ fi - @-(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) && \ - (echo "Now you need to edit /etc/inetd.conf and comment out the" ;\ - echo "entry for comsat. Then, do:" ; \ - echo "kill -HUP `cat /var/run/inetd.pid`") + @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/mail/youbin/pkg-install b/mail/youbin/pkg-install new file mode 100644 index 000000000000..649b7f3b895e --- /dev/null +++ b/mail/youbin/pkg-install @@ -0,0 +1,10 @@ +#!/bin/sh +if [ "$2" != "POST-INSTALL" ]; then exit 0; fi + +(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) || exit 0 + +echo "***********************************************************" +echo " Now you need to edit /etc/inetd.conf and comment out the" +echo " entry for comsat. Then, do:" +echo " kill -HUP `cat /var/run/inetd.pid`" +echo "***********************************************************" |