summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-02 23:47:22 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:07 -0700
commitdfe421a9654f5470b96fc6c6841a1f617c8a34f6 (patch)
tree5b460e7d0492364bca36589ada316fdf71ada473 /Makefile
parent789adb79f54b256bce97f05f5d8cbbc5ebbd057a (diff)
[PATCH] Fix another problem with Makefile installing initscript
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8f06c367c9..99abff35ff 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)