From: greg@kroah.com Date: Wed, 3 Mar 2004 07:47:22 +0000 (-0800) Subject: [PATCH] Fix another problem with Makefile installing initscript X-Git-Tag: 021~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe421a9654f5470b96fc6c6841a1f617c8a34f6;p=systemd [PATCH] Fix another problem with Makefile installing initscript --- diff --git a/Makefile b/Makefile index 8f06c367..99abff35 100644 --- a/Makefile +++ b/Makefile @@ -349,11 +349,11 @@ endif install-initscript: etc/init.d/udev etc/init.d/udev.debian etc/init.d/udev.init.LSB @if [ -f /etc/redhat-release ]; then \ - $(INSTALL_DATA) etc/init.d/udev $(DESTDIR)$(initdir)/udev; \ + $(INSTALL_DATA) -D etc/init.d/udev $(DESTDIR)$(initdir)/udev; \ elif [ -f /etc/SuSE-release ]; then \ - $(INSTALL_DATA) etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \ + $(INSTALL_DATA) -D etc/init.d/udev.init.LSB $(DESTDIR)$(initdir)/udev; \ elif [ -f /etc/debian_version ]; then \ - $(INSTALL_DATA) etc/init.d/udev.debian $(DESTDIR)$(initdir)/udev; \ + $(INSTALL_DATA) -D etc/init.d/udev.debian $(DESTDIR)$(initdir)/udev; \ fi install-config: $(GEN_CONFIGS)