diff --git a/Makefile.am b/Makefile.am index c6f6ed13..0a4239a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,7 +58,7 @@ if INSTALL_CONFIG_FILES endif if INSTALL_SYSTEMV [ -e $(DESTDIR)/etc/init.d ] || mkdir -p $(DESTDIR)/etc/init.d - [ -f /etc/init.d/shairport-sync ] || cp scripts/shairport-sync $(DESTDIR)/etc/init.d/ + [ -f $(DESTDIR)/etc/init.d/shairport-sync ] || cp scripts/shairport-sync $(DESTDIR)/etc/init.d/ update-rc.d shairport-sync defaults 90 10 endif if INSTALL_SYSTEMD