| Summary: |
Wrong condition and wrong variable substitution in libgl1-amdgpu-mesa-dri in postinst script |
| Product: |
DRI
|
Reporter: |
Andrew Shark <ashark> |
| Component: |
DRM/AMDgpu-pro | Assignee: |
Jeremy Newton <Jeremy.Newton> |
| Status: |
RESOLVED
MOVED
|
QA Contact: |
|
| Severity: |
major
|
|
|
| Priority: |
medium
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
Other | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
110956
|
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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.