Blob Blame History Raw
From 8148fd4a73345449828198396cb9d149f8f3dc6b Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 22 Jun 2012 15:28:23 +0200
Subject: [PATCH] udev-rules/module-setup.sh: ln with --force

---
 modules.d/95udev-rules/module-setup.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
index a48b0cb..f98de57 100755
--- a/modules.d/95udev-rules/module-setup.sh
+++ b/modules.d/95udev-rules/module-setup.sh
@@ -15,7 +15,7 @@ install() {
         inst "$_i"
 
         if ! [[ -f  ${initdir}/lib/systemd/systemd-udevd ]]; then
-            ln -s "$_i" ${initdir}/lib/systemd/systemd-udevd
+            ln -fs "$_i" ${initdir}/lib/systemd/systemd-udevd
         fi
         break
     done