aboutsummaryrefslogtreecommitdiff
path: root/shells/perlsh/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'shells/perlsh/pkg-plist')
-rw-r--r--shells/perlsh/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/shells/perlsh/pkg-plist b/shells/perlsh/pkg-plist
index c34c69a29dc7..8e263dd38ac6 100644
--- a/shells/perlsh/pkg-plist
+++ b/shells/perlsh/pkg-plist
@@ -1,5 +1,7 @@
@comment $FreeBSD$
bin/psh
+@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
+@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
share/psh/complete/debian
share/psh/complete/perl
share/psh/complete/standard