Re: git: 06227fb64bf2 - main - security/gnupg: Create symlink for manpage
Date: Thu, 03 Aug 2023 14:00:30 UTC
Yasuhiro Kimura <yasu@FreeBSD.org> writes: > diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist > index 49090edb2b2e..a279fde721f7 100644 > --- a/security/gnupg/pkg-plist > +++ b/security/gnupg/pkg-plist > @@ -123,3 +123,5 @@ sbin/applygnupgdefaults > %%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo > @postexec [ -e %D/bin/gpg ] || ln -sf gpg2 %D/bin/gpg > @postunexec [ -e %D/bin/gpg ] || rm -f %D/bin/gpg > +@postexec [ -e %D/man/man1/gpg.1.gz] || ln -sf gpg2.1.gz %D/man/man1/gpg.1.gz there needs to be a space before the ] here > +@postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz DES -- Dag-Erling Smørgrav - des@FreeBSD.org