dist: install .rules to correct place by default
these only have meaning when they end up in a directory scanned by udev, so $prefix/lib/udev/rules.d will be correct when installed to /usr. this changes it from /usr/share/solaar/udev-rules.d which is ignored. it does not affect installing as a user (e.g. pip install --user)
This commit is contained in:
parent
0b6b98e0a7
commit
cf71736920
2
setup.py
2
setup.py
|
@ -39,7 +39,7 @@ def _data_files():
|
||||||
yield _dirname(mo), [mo]
|
yield _dirname(mo), [mo]
|
||||||
|
|
||||||
yield 'share/applications', ['share/applications/solaar.desktop']
|
yield 'share/applications', ['share/applications/solaar.desktop']
|
||||||
yield 'share/solaar/udev-rules.d', ['rules.d/42-logitech-unify-permissions.rules']
|
yield 'lib/udev/rules.d', ['rules.d/42-logitech-unify-permissions.rules']
|
||||||
yield 'share/metainfo', ['share/solaar/io.github.pwr_solaar.solaar.metainfo.xml']
|
yield 'share/metainfo', ['share/solaar/io.github.pwr_solaar.solaar.metainfo.xml']
|
||||||
|
|
||||||
del _dirname
|
del _dirname
|
||||||
|
|
Loading…
Reference in New Issue