Bug 272869

Summary: security/gnupg: typo in postinstall
Product: Ports & Packages Reporter: John F. Carr <jfc>
Component: Individual Port(s)Assignee: Adriaan de Groot <adridg>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (adridg)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description John F. Carr 2023-08-01 15:21:06 UTC
A locally-built gnupg package reports an error in postinstall:

[1/2] Installing gnupg-2.4.3_3...
[1/2] Extracting gnupg-2.4.3_3: 100%
[: missing ]

This was introduced by 06227fb64bf2ec95f68889540516922498010903 which added to pkg-plist:

@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 ].
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2023-08-05 10:52:01 UTC
Was fixed in  f1692182dde9 by yasu@ (thanks!)