Group :: Sciences/Other
RPM: boinc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: install-init-script.patch
Download
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 ; \