mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
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.
This commit is contained in:
parent
b31ea6cd51
commit
f61f2728b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340583
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= mksh
|
||||
DISTVERSION= R49
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
|
||||
http://pub.allbsd.org/MirOS/dist/mir/mksh/
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/mksh
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user