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 | |
parent | Adding hello version 1.3.1. (diff) |
Update /etc/shells after installation.
PR: 15685
Submitted by: foxfair
Notes
Notes:
svn path=/head/; revision=24258
Diffstat (limited to 'shells')
-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> |