summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 812f160a5..8c6e56d2a 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -12,9 +12,9 @@ unknown:
-echo Unknown distribution
redhat:
- $(mkinstalldirs) $(DESTDIR)/etc/rc.d/init.d
- $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)/etc/rc.d/init.d/bluetooth
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/rc.d/init.d
+ $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.rh $(DESTDIR)$(sysconfdir)/rc.d/init.d/bluetooth
debian:
- $(mkinstalldirs) $(DESTDIR)/etc/init.d
- $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)/etc/init.d/bluetooth
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/init.d
+ $(INSTALL) -m 755 $(srcdir)/bluetooth.rc.deb $(DESTDIR)$(sysconfdir)/init.d/bluetooth