summaryrefslogtreecommitdiff
path: root/shells/mudsh/pkg-plist
blob: e8964c6c08196f20579a114d36750633deac550a (plain) (blame)
1
2
3
bin/mudsh
@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