chiark / gitweb /
[PATCH] fix make install rule for when the udev symlink is already there.
authorgreg@kroah.com <greg@kroah.com>
Wed, 19 Nov 2003 05:45:46 +0000 (21:45 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:24 +0000 (21:06 -0700)
Makefile

index f39fe22..cd539ee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -215,6 +215,7 @@ install: all
        $(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8
        $(INSTALL_DATA) udev.config $(DESTDIR)$(configdir)
        $(INSTALL_DATA) udev.permissions $(DESTDIR)$(configdir)
+       - rm $(DESTDIR)$(hotplugdir)/udev.hotplug
        - ln -s $(sbindir)/$(ROOT) $(DESTDIR)$(hotplugdir)/udev.hotplug
 
 uninstall: