1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update /etc/shells after installation.

PR:		15685
Submitted by:	foxfair
This commit is contained in:
Thomas Gellekum 1999-12-29 10:27:18 +00:00
parent 05ce77e5d2
commit fd2beef1f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24258

View File

@ -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>