summarylogtreecommitdiffstats
path: root/fingerprint-gui-udev-path.patch
blob: dd3d391ef4505ad82eeaa20201769388ec8e76fb (plain)
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
28
29
30
31
32
33
34
35
36
37
38
diff -ruN fingerprint-gui-1.09-orig/bin/fingerprint-helper/fingerprint-helper.pro fingerprint-gui-1.09/bin/fingerprint-helper/fingerprint-helper.pro
--- fingerprint-gui-1.09-orig/bin/fingerprint-helper/fingerprint-helper.pro	2016-11-21 15:24:35.315792087 +0300
+++ fingerprint-gui-1.09/bin/fingerprint-helper/fingerprint-helper.pro	2016-11-21 15:25:24.527899001 +0300
@@ -22,8 +22,8 @@
 QMAKE_CXXFLAGS+=-fno-strict-aliasing
 
-uinput-rules.path     = $${INSTALL_ROOT}/etc/udev/rules.d
-uinput-rules.commands = install -d $(INSTALL_ROOT)/etc/udev/rules.d; \
-                        install -m 644 ./92-fingerprint-gui-uinput.rules $(INSTALL_ROOT)/etc/udev/rules.d
+uinput-rules.path     = $${INSTALL_ROOT}/usr/lib/udev/rules.d
+uinput-rules.commands = install -d $(INSTALL_ROOT)/usr/lib/udev/rules.d; \
+                        install -m 644 ./92-fingerprint-gui-uinput.rules $(INSTALL_ROOT)/usr/lib/udev/rules.d
 
 INSTALLS += target uinput-rules
  
diff -ruN fingerprint-gui-1.09-orig/fingerprint.pro fingerprint-gui-1.09/fingerprint.pro
--- fingerprint-gui-1.09-orig/fingerprint.pro	2016-11-21 15:33:45.215341967 +0300
+++ fingerprint-gui-1.09/fingerprint.pro	2016-11-21 15:36:26.077954927 +0300
@@ -17,8 +17,8 @@
                             install -m 644 ./upek/lib/libbsapi.so.4.0 ./upek/lib/libbsapi.so.4.3 $(INSTALL_ROOT)$${LIBDIR}; \
                         fi; \
                         ldconfig
-upek-rules.commands   = install -d $(INSTALL_ROOT)/etc/udev/rules.d; \
-                        install -m 644 ./upek/91-fingerprint-gui-upek.rules $(INSTALL_ROOT)/etc/udev/rules.d
+upek-rules.commands   = install -d $(INSTALL_ROOT)/usr/lib/udev/rules.d; \
+                        install -m 644 ./upek/91-fingerprint-gui-upek.rules $(INSTALL_ROOT)/usr/lib/udev/rules.d
 upek-cfg.commands     = install -d $(INSTALL_ROOT)/etc; \
                         install -m 644 ./upek/upek.cfg $(INSTALL_ROOT)/etc/upek.cfg
 upek-dir.commands     = install -d $(INSTALL_ROOT)/var/upek_data; \
@@ -38,7 +38,7 @@
 uninstall-upek.commands = rm -f $(INSTALL_ROOT)$${LIBDIR}/libbsapi.so.4.0; \
                           rm -f $(INSTALL_ROOT)$${LIBDIR}/libbsapi.so.4.3; \
                           rm -rf $(INSTALL_ROOT)/var/upek_data; \
-                          rm -f $(INSTALL_ROOT)/etc/udev/rules.d/91-fingerprint-gui-upek.rules; \
+                          rm -f $(INSTALL_ROOT)/usr/lib/udev/rules.d/91-fingerprint-gui-upek.rules; \
                           ldconfig
 
 # for version 1.07 change ownership and permissions of data directories and files