forked from cockpit/cockpit
Adam Majer
08a644cfac
- Fix systemd units folder for leap and sle (bsc#1226541) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=192
13 lines
708 B
Diff
13 lines
708 B
Diff
diff -up cockpit-320/src/cockpit/packages.py.org cockpit-320/src/cockpit/packages.py
|
|
--- cockpit-320/src/cockpit/packages.py.org 2024-07-14 21:06:50.378400822 +0200
|
|
+++ cockpit-320/src/cockpit/packages.py 2024-07-14 21:07:40.568245119 +0200
|
|
@@ -127,7 +127,7 @@ def get_libexecdir() -> str:
|
|
|
|
This only works for systems which have cockpit-ws installed.
|
|
"""
|
|
- for candidate in ['/usr/local/libexec', '/usr/libexec', '/usr/local/lib/cockpit', '/usr/lib/cockpit']:
|
|
+ for candidate in ['/usr/local/libexec', '/usr/libexec', '/usr/local/lib/cockpit', '/usr/lib/cockpit', '/usr/lib']:
|
|
if os.path.exists(os.path.join(candidate, 'cockpit-askpass')):
|
|
return candidate
|
|
else:
|