diff options
Diffstat (limited to 'shells')
-rw-r--r-- | shells/osh/Makefile | 2 | ||||
-rw-r--r-- | shells/osh/pkg-plist | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shells/osh/Makefile b/shells/osh/Makefile index 2fcf3c5ebedc..81ffac9ff10d 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -14,7 +14,7 @@ MAINTAINER= greid@ukug.uk.freebsd.org MAKEFILE= makefile -MAN1= osh.1 +MAN1= goto.1 if.1 osh.1 post-install: @${ECHO} "updating /etc/shells" diff --git a/shells/osh/pkg-plist b/shells/osh/pkg-plist index 01dcc9032720..8a90cd0dc9cf 100644 --- a/shells/osh/pkg-plist +++ b/shells/osh/pkg-plist @@ -1,3 +1,5 @@ +bin/goto +bin/if bin/osh @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 |