File: systemd-directory.patch

package info (click to toggle)
boinc 8.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,688 kB
  • sloc: cpp: 172,875; php: 115,929; pascal: 56,058; xml: 17,863; python: 8,752; javascript: 6,538; sh: 5,343; objc: 2,322; ansic: 2,200; makefile: 2,166; perl: 1,843; sql: 831; java: 429; lisp: 47; csh: 30
file content (20 lines) | stat: -rw-r--r-- 1,079 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/client/scripts/Makefile.am b/client/scripts/Makefile.am
index 2a53203d8..f5b191a99 100644
--- a/client/scripts/Makefile.am
+++ b/client/scripts/Makefile.am
@@ -6,13 +6,8 @@ install-exec-hook:
 		$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d ; \
 		$(INSTALL) -b boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client ; \
 	fi
-	if [ -d /usr/lib/systemd/system ] ; then \
-		$(INSTALL) -d $(DESTDIR)/usr/lib/systemd/system/ ; \
-		$(INSTALL_DATA) boinc-client.service $(DESTDIR)/usr/lib/systemd/system/boinc-client.service ; \
-	elif [ -d /lib/systemd/system ] ; then \
-		$(INSTALL) -d $(DESTDIR)/lib/systemd/system/ ; \
-		$(INSTALL_DATA) boinc-client.service $(DESTDIR)/lib/systemd/system/boinc-client.service ; \
-	fi
+	$(INSTALL) -d $(DESTDIR)/usr/lib/systemd/system/ ; \
+	$(INSTALL_DATA) boinc-client.service $(DESTDIR)/usr/lib/systemd/system/boinc-client.service ; \
 	if [ -d /etc/sysconfig ] ; then \
 	  $(INSTALL) -d $(DESTDIR)$(sysconfdir)/sysconfig ; \
 	  $(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \