freebsd-ports/shells/mksh/pkg-plist
Emanuel Haupt f61f2728b6 This fixes /etc/shells. Due to the incorrect order of pkg-plist prior to
exec/unexec the path to the manpage was written to /etc/shells.
2014-01-21 08:54:06 +00:00

7 lines
485 B
Text

man/man1/mksh.1.gz
@comment Please mind the order. bin/mksh needs to come right before the exec/unexec magic.
bin/mksh
@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
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%