scstadmin: Use $(DESTDIR) when uninstalling SCST 2.x startup scripts

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-10-01 13:24:46 +00:00
parent 96f498e9c8
commit f79293427a

View File

@@ -67,9 +67,9 @@ install:
fi
@if [ "$(REMOVE_INITD_CMD)" != "none" ]; then \
$(REMOVE_INITD_CMD) iscsi-scst >/dev/null 2>&1; \
rm -f $(INITDIR)/iscsi-scst; \
rm -f $(DESTDIR)$(INITDIR)/iscsi-scst; \
$(REMOVE_INITD_CMD) qla2x00t >/dev/null 2>&1; \
rm -f $(INITDIR)/qla2x00t; \
rm -f $(DESTDIR)$(INITDIR)/qla2x00t; \
fi
@if [ "$(INSTALL_INITD_CMD)" != "none" ]; then \
echo; \