summaryrefslogtreecommitdiff
path: root/shells/esh/pkg-plist
blob: d325c90e36461bb0bc497482a94a610aeb8ae97d (plain) (blame)
1
2
3
4
5
6
7
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 test -f %D/info/dir || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/esh.info %D/info/dir