vtun: fix startup script installation
authorLionel Landwerlin <llandwerlin@gmail.com>
Sun, 26 Dec 2010 16:16:34 +0000 (17:16 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 28 Dec 2010 19:30:54 +0000 (20:30 +0100)
In case etc/init.d does not exist.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/vtun/vtun-3.0.2-001-Makefile.in.patch

index 063d4b3d7cc7b89ef7b778a15a74e5709ec7cf41..1f939692604a655073247ff049578ade7e138e68 100644 (file)
@@ -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.