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

Add XDG compatible location for osc plugins.

I believe it is generally a good idea to move stuff from $HOME to
XDG-compatible directories.
This commit is contained in:
Matej Cepl 2022-03-18 18:21:16 +01:00 committed by Daniel Mach
parent 2cb5a1e5cc
commit 84fa637556

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):