RESOLVED FIXED279442
[GLIB] 'aptIfElse' should print out alternative package only if it exits
https://bugs.webkit.org/show_bug.cgi?id=279442
Summary [GLIB] 'aptIfElse' should print out alternative package only if it exits
Diego Pino
Reported 2024-09-10 06:48:19 PDT
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.
Attachments
Diego Pino
Comment 1 2024-09-10 06:51:36 PDT
EWS
Comment 2 2024-09-10 23:36:41 PDT
Committed 283467@main (7f9ab1968785): <https://commits.webkit.org/283467@main> Reviewed commits have been landed. Closing PR #33398 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-09-10 23:37:15 PDT
Note You need to log in before you can comment on or make changes to this bug.