aboutsummaryrefslogtreecommitdiff
path: root/shells/osh/pkg-plist
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-30 01:31:08 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-30 01:31:08 +0000
commit0f61d2fb57283c281f3242a3b470b5b445cac325 (patch)
tree0101fdd321d6c16df014aaec0e39f09e69144b82 /shells/osh/pkg-plist
parent173508aba5f7bd88f35d2e10e6be907a110825f7 (diff)
Notes
Diffstat (limited to 'shells/osh/pkg-plist')
-rw-r--r--shells/osh/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/shells/osh/pkg-plist b/shells/osh/pkg-plist
new file mode 100644
index 000000000000..01dcc9032720
--- /dev/null
+++ b/shells/osh/pkg-plist
@@ -0,0 +1,3 @@
+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