All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 110963] Wrong condition and wrong variable substitution in libgl1-amdgpu-mesa-dri in postinst script
@ 2019-06-22  3:32 bugzilla-daemon
  2019-06-22 15:41 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-06-22  3:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1127 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110963

            Bug ID: 110963
           Summary: Wrong condition and wrong variable substitution in
                    libgl1-amdgpu-mesa-dri in postinst script
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/AMDgpu-pro
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: ashark@linuxcomp.ru

19.20-812932 release for Ubuntu

In libgl1-amdgpu-mesa-dri in postinst script there is such condition:
    # Support I+A hybrid graphics 
    if [ -f ... ] && [ "str1" != "str2" ]; then
You just compare two different strings? I guess you wanted to compare folder
contents. But now that second condition will always be true.

Further there is:
    if [ "${f%%/*}" = ... ]; then
there is extra percent symbol, you should remove it. Btw, in rpm release
variant in scriptlet there is no such mistake.

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

[-- Attachment #1.2: Type: text/html, Size: 2484 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-02 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-22  3:32 [Bug 110963] Wrong condition and wrong variable substitution in libgl1-amdgpu-mesa-dri in postinst script bugzilla-daemon
2019-06-22 15:41 ` bugzilla-daemon
2019-06-22 15:49 ` bugzilla-daemon
2019-06-22 17:57 ` bugzilla-daemon
2019-07-29 20:32 ` bugzilla-daemon
2019-10-02 18:43 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.