File: use-correct-udev-systemd-paths.diff

package info (click to toggle)
swayosd 0.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 616 kB
  • sloc: makefile: 19; xml: 19
file content (27 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Install the service/udev rule into the correct paths
Author: Matthias Geiger <werdahias@debian.org>
Forwarded: not-needed
Last-Update: 2025-01-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/data/meson.build
+++ b/data/meson.build
@@ -9,7 +9,7 @@
 # udev rules
 install_data(
   join_paths('udev', '99-swayosd.rules'),
-  install_dir: join_paths(libdir, 'udev', 'rules.d')
+  install_dir: join_paths('lib', 'udev', 'rules.d')
 )
 # Dbus conf
 install_data(
@@ -44,7 +44,7 @@
 if systemd.found()
   systemd_service_install_dir = systemd.get_variable(pkgconfig :'systemdsystemunitdir')
 else
-  systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
+  systemd_service_install_dir = join_paths('lib', 'systemd', 'system')
 endif
 
 configure_file(