5ce8e8e5c7
in bsd.port.mk and this helps to unify the check and install.
6 lines
367 B
Text
6 lines
367 B
Text
bin/esh
|
|
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
|
|
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
|
|
@unexec install-info --delete %D/info/esh.info %D/info/dir
|
|
info/esh.info
|
|
@exec install-info %D/info/esh.info %D/info/dir
|