diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1999-12-29 10:27:18 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1999-12-29 10:27:18 +0000 |
commit | fd2beef1f7b52ab87364361f009a6234c72937b2 (patch) | |
tree | 324bb86f99c1e1145b100452e291e1bbfd813dbf /shells/pdksh | |
parent | 05ce77e5d237dd84a4a88878b06941bb4cf1ec09 (diff) | |
download | ports-fd2beef1f7b52ab87364361f009a6234c72937b2.tar.gz ports-fd2beef1f7b52ab87364361f009a6234c72937b2.zip |
Notes
Diffstat (limited to 'shells/pdksh')
-rw-r--r-- | shells/pdksh/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile index 6511c5503b06..938c31eb4905 100644 --- a/shells/pdksh/Makefile +++ b/shells/pdksh/Makefile @@ -20,4 +20,11 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= LDSTATIC=-static MAN1= ksh.1 +post-install: + @${ECHO} "Updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak; \ + ${ECHO} ${PREFIX}/bin/ksh) > /etc/shells + @${RM} /etc/shells.bak + .include <bsd.port.mk> |