Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37822085
en ru br
ALT Linux repos
S:7.8.4-alt4.1

Group :: Sciences/Other
RPM: boinc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: install-init-script.patch
Download


diff --git a/client/scripts/Makefile.am b/client/scripts/Makefile.am
index 144986d..fd10fda 100644
--- a/client/scripts/Makefile.am
+++ b/client/scripts/Makefile.am
@@ -1,9 +1,11 @@
 ## -*- mode: makefile; tab-width: 4 -*-
 
+initrddir=$(sysconfdir)/init.d
+
 install-exec-hook:
 	chmod +x boinc-client
-	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d
-	$(INSTALL) -b boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client
+	$(INSTALL) -d $(DESTDIR)$(initrddir)
+	$(INSTALL) -b boinc-client $(DESTDIR)$(initrddir)/boinc-client
 	if [ -d /etc/sysconfig ] ; then \
 	  $(INSTALL) -d $(DESTDIR)$(sysconfdir)/sysconfig ; \
 	  $(INSTALL) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin