From cf71736920ff85e9f5a082d3a7cfaadfc00af13d Mon Sep 17 00:00:00 2001 From: psykose Date: Mon, 16 Oct 2023 16:35:49 +0000 Subject: [PATCH] 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) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ccb343a8..8aa4f588 100755 --- a/setup.py +++ b/setup.py @@ -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