Skip to content

Commit

Permalink
Don't install initscripts on Solaris 10 and higher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 2d66547 commit e03fa26
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion platforms/solaris/Makefile.in
Expand Up @@ -11,11 +11,20 @@
#
@MCOMMON@

ALL_INSTALL_TARGETS = install-autostart-fd install-autostart-sd install-autostart-dir

nothing:

install: install-autostart

install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
install-autostart:
@case `uname -r` in \
5.8|5.9) \
for target in $(ALL_INSTALL_TARGETS); do \
$(MAKE) DESTDIR=$(DESTDIR) $$target; \
done \
;; \
esac

install-autostart-%:
@$(RMF) $(DESTDIR)/etc/rc0.d/K20bareos-$*
Expand Down

0 comments on commit e03fa26

Please sign in to comment.