aboutsummaryrefslogtreecommitdiff
path: root/shells/esh/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'shells/esh/pkg-plist')
-rw-r--r--shells/esh/pkg-plist7
1 files changed, 7 insertions, 0 deletions
diff --git a/shells/esh/pkg-plist b/shells/esh/pkg-plist
new file mode 100644
index 000000000000..d325c90e3646
--- /dev/null
+++ b/shells/esh/pkg-plist
@@ -0,0 +1,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