[Bug 272869] security/gnupg: typo in postinstall

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Aug 2023 15:21:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272869

            Bug ID: 272869
           Summary: security/gnupg: typo in postinstall
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adridg@freebsd.org
          Reporter: jfc@mit.edu
          Assignee: adridg@freebsd.org
             Flags: maintainer-feedback?(adridg@freebsd.org)

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 ].

-- 
You are receiving this mail because:
You are the assignee for the bug.