scstadmin: Create /etc/default if it does not yet exist

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4537 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-10-01 13:25:28 +00:00
parent f79293427a
commit 62ba210a31

View File

@@ -63,6 +63,7 @@ install:
install -m 755 $$tmp $(DESTDIR)$(INITDIR)/scst && \
rm -f $$tmp
if [ ! -e $(DESTDIR)$(DEFAULTDIR)/scst ]; then \
mkdir -p $(DESTDIR)$(DEFAULTDIR); \
install -m 755 default/scst $(DESTDIR)$(DEFAULTDIR); \
fi
@if [ "$(REMOVE_INITD_CMD)" != "none" ]; then \