use ln -sf rather than ln -s incase target exists

This commit is contained in:
Mike Frysinger 2007-04-13 12:39:14 +00:00
parent 21902ef882
commit 51f43d5a53

View File

@ -136,7 +136,7 @@ install: $(TARGET)
install -m 0755 $(BIN_TARGETS) $(DESTDIR)/bin install -m 0755 $(BIN_TARGETS) $(DESTDIR)/bin
install -m 0755 -d $(DESTDIR)/sbin install -m 0755 -d $(DESTDIR)/sbin
install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin
ln -s rc-update $(DESTDIR)/sbin/update-rc ln -sf rc-update $(DESTDIR)/sbin/update-rc
install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/conf.d install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/conf.d
install -m 0644 $(SYS_WHITELIST) $(DESTDIR)/$(LIB)/rcscripts/conf.d install -m 0644 $(SYS_WHITELIST) $(DESTDIR)/$(LIB)/rcscripts/conf.d
install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/bin install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/bin