[Bug 110963] Wrong condition and wrong variable substitution in libgl1-amdgpu-mesa-dri in postinst script
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 22 03:32:18 UTC 2019
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 at lists.freedesktop.org
Reporter: ashark at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190622/c50e17ac/attachment.html>
More information about the dri-devel
mailing list