From: Lionel Landwerlin Date: Sun, 26 Dec 2010 16:16:34 +0000 (+0100) Subject: vtun: fix startup script installation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58ddf43464ab3892d2af0c3973e6d9ef31653fdf;p=buildroot.git vtun: fix startup script installation In case etc/init.d does not exist. Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- diff --git a/package/vtun/vtun-3.0.2-001-Makefile.in.patch b/package/vtun/vtun-3.0.2-001-Makefile.in.patch index 063d4b3d7c..1f93969260 100644 --- a/package/vtun/vtun-3.0.2-001-Makefile.in.patch +++ b/package/vtun/vtun-3.0.2-001-Makefile.in.patch @@ -26,7 +26,7 @@ diff -urN vtun/Makefile.in vtun-2.6/Makefile.in $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(LOCK_DIR) $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(SBIN_DIR) $(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(DESTDIR)$(SBIN_DIR) -+ $(INSTALL) -m 755 $(INSTALL_OWNER) scripts/vtund.rc.debian \ ++ $(INSTALL) -m 755 -D $(INSTALL_OWNER) scripts/vtund.rc.debian \ + $(DESTDIR)$(ETC_DIR)/init.d/S90vtun # DO NOT DELETE THIS LINE -- make depend depends on it.