mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
path-util: when checking systemd versions, check both lib and lib64
We need to check both to be compatible with multilib images.
This commit is contained in:
parent
3aa6a55904
commit
28faeda47f
@ -882,7 +882,9 @@ int systemd_installation_has_version(const char *root, unsigned minimal_version)
|
||||
* for Gentoo which does a merge without making /lib a symlink.
|
||||
*/
|
||||
"lib/systemd/libsystemd-shared-*.so\0"
|
||||
"usr/lib/systemd/libsystemd-shared-*.so\0") {
|
||||
"lib64/systemd/libsystemd-shared-*.so\0"
|
||||
"usr/lib/systemd/libsystemd-shared-*.so\0"
|
||||
"usr/lib64/systemd/libsystemd-shared-*.so\0") {
|
||||
|
||||
_cleanup_strv_free_ char **names = NULL;
|
||||
_cleanup_free_ char *path = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user