1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
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

8 lines
485 B
Plaintext

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%%