1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Merge pull request #1013 from mcepl/xdg-plugins

Add XDG compatible location for osc plugins.
This commit is contained in:
Daniel Mach 2022-07-28 10:48:42 +02:00 committed by GitHub
commit d8f5ac023d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9570,6 +9570,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
'/usr/lib/osc-plugins',
'/usr/local/lib/osc-plugins',
'/var/lib/osc-plugins', # Kept for backward compatibility
os.path.expanduser('~/.local/lib/osc-plugins'),
os.path.expanduser('~/.osc-plugins')]
for plugin_dir in plugin_dirs:
if not os.path.isdir(plugin_dir):