mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
--- a/client/scripts/Makefile.am
|
|
+++ b/client/scripts/Makefile.am
|
|
@@ -2,21 +2,21 @@
|
|
|
|
install-exec-hook:
|
|
chmod +x boinc-client
|
|
- if [ -d /etc/init.d ] ; then \
|
|
+ if [ -d /notfound/etc/init.d ] ; then \
|
|
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d ; \
|
|
$(INSTALL) -b boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client ; \
|
|
fi
|
|
- if [ -d /usr/lib/systemd/system ] ; then \
|
|
+ if [ -d /notfound/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 \
|
|
+ elif [ -d /notfound/lib/systemd/system ] ; then \
|
|
$(INSTALL) -d $(DESTDIR)/lib/systemd/system/ ; \
|
|
$(INSTALL_DATA) boinc-client.service $(DESTDIR)/lib/systemd/system/boinc-client.service ; \
|
|
fi
|
|
- if [ -d /etc/sysconfig ] ; then \
|
|
+ if [ -d /notfound/etc/sysconfig ] ; then \
|
|
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/sysconfig ; \
|
|
$(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \
|
|
- elif [ -d /etc/default ] ; then \
|
|
+ elif [ -d /notfound/etc/default ] ; then \
|
|
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/default ; \
|
|
$(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/default/boinc-client ; \
|
|
else \
|