Skip to content

Commit

Permalink
dist: install .rules to correct place by default
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
nekopsykose authored and pfps committed Oct 21, 2023
1 parent 0b6b98e commit cf71736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _data_files():
yield _dirname(mo), [mo]

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']

del _dirname
Expand Down

0 comments on commit cf71736

Please sign in to comment.