udev-rules/module-setup.sh: ln with --force
authorHarald Hoyer <harald@redhat.com>
Fri, 22 Jun 2012 13:28:23 +0000 (15:28 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Jun 2012 10:41:26 +0000 (12:41 +0200)
modules.d/95udev-rules/module-setup.sh

index a48b0cb..f98de57 100755 (executable)
@@ -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