[Bug 274348] security/acme.sh pkg-install bug in 3.0.6_1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Oct 2023 07:49:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274348

            Bug ID: 274348
           Summary: security/acme.sh pkg-install bug in 3.0.6_1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl@FreeBSD.org
          Reporter: moviuro+freebsd@gmail.com
          Assignee: dvl@FreeBSD.org
             Flags: maintainer-feedback?(dvl@FreeBSD.org)

https://github.com/freebsd/freebsd-ports/commit/beb96db3cafbf2f65508e09de788a93839060dc2#diff-decc86480f366f42157f70acd9c461d0a1ce822ca3733426f9e0b4e8fab03293R6
contains a shell syntax error.

When upgrading security/acme.sh on my various jails, the acme.sh pkg-install
script errored with:

    [car.popho.be] [18/22] Extracting acme.sh-3.0.6_1: 100%                     
    [: !-f: unexpected operator

The correct line should be:

    if [ ! -f /var/log/acme.sh.log ]

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