void-packages/srcpkgs/boinc/patches/fix-etc_default_config.patch
Jürgen Buchmüller 40e4b0b96e New package: boinc-7.6.12
Closes #2065

This certainly needs review because of the system account,
config and service files in the template.
2015-10-14 18:34:14 +02:00

21 lines
980 B
Diff

--- client/scripts/Makefile.am 2015-09-29 11:16:41.000000000 +0200
+++ client/scripts/Makefile.am 2015-10-13 16:28:35.475293365 +0200
@@ -2,16 +2,5 @@
install-exec-hook:
chmod +x boinc-client
- $(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d
- $(INSTALL) -b $(srcdir)/boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client
- if [ -d /etc/sysconfig ] ; then \
- $(INSTALL) -d $(DESTDIR)$(sysconfdir)/sysconfig ; \
- $(INSTALL) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \
- elif [ -d /etc/default ] ; then \
- $(INSTALL) -d $(DESTDIR)$(sysconfdir)/default ; \
- $(INSTALL) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/default/boinc-client ; \
- else \
- $(INSTALL) -d $(DESTDIR)$(sysconfdir) ; \
- $(INSTALL) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/boinc-client.conf ; \
- fi
-
+ $(INSTALL) -d $(DESTDIR)$(sysconfdir)/default
+ $(INSTALL) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/default/boinc-client