[Webkit-unassigned] [Bug 279442] New: [GLIB] 'aptIfElse' should print out alternative package only if it exits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 10 06:48:19 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279442

            Bug ID: 279442
           Summary: [GLIB] 'aptIfElse' should print out alternative
                    package only if it exits
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

Function 'aptIfElse' evaluates whether a package exits and in case not returns an alternative name, regardless whether that package exits. For instance:

```
$(aptIfElse libgcrypt20-dev libgcrypt11-dev)
```

The code above checks first whether 'libgcrypt20-dev' is a valid package name. In case not, the function returns the alternative package 'libgcrypt11-dev'. This is not correct, since the alternative package many not exist either.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240910/4b382a66/attachment-0001.htm>


More information about the webkit-unassigned mailing list