summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-04-21 18:24:39 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-04-21 18:24:39 -0400
commited844d28c4388a26d11709f41e68674378266ebe (patch)
tree192f6c7e24b8f873497a9c43a902ef5d541f7364 /src/udev
parent1fcf167f650ea2a6099b32f04da2b199340a73ff (diff)
src/udev/Makefile.am: do not fail if sym link already exists
This fixes two issues: 1) The -r option does not exist for busybox and we do not need relative sym linking anyhow, and 2) if the sym link already exists, we want to overwrite it, hence -f. X-Eudev-Bug: 58 X-Eudev-Bug-URL: https://github.com/gentoo/eudev/issues/58 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am
index a28607d565..2bceb0c698 100644
--- a/src/udev/Makefile.am
+++ b/src/udev/Makefile.am
@@ -120,7 +120,7 @@ CLEANFILES = \
# install udevadm symlink in sbindir
install-exec-hook:
if test "$(bindir)" != "$(sbindir)"; then \
- $(LN_S) -r $(DESTDIR)$(bindir)/udevadm $(DESTDIR)$(sbindir)/udevadm; \
+ $(LN_S) -n -f $(DESTDIR)$(bindir)/udevadm $(DESTDIR)$(sbindir)/udevadm; \
fi
uninstall-hook: