Skip to content

Commit

Permalink
security/gnupg: Fix postexec/postunexec dealing with manpages
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
arrowd committed Apr 3, 2024
1 parent 542e878 commit c1bc74b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions security/gnupg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gnupg
DISTVERSION= 2.4.4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GNUPG

Expand Down
4 changes: 2 additions & 2 deletions security/gnupg/pkg-plist
Expand Up @@ -123,5 +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
@postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz
@postexec [ -e %D/share/man/man1/gpg.1.gz ] || ln -sf gpg2.1.gz %D/share/man/man1/gpg.1.gz
@postunexec [ -e %D/share/man/man1/gpg.1.gz ] || rm -f %D/share/man/man1/gpg.1.gz

0 comments on commit c1bc74b

Please sign in to comment.