Force creation of /sbin/mount.ntfs symlink.
authorMichael Prokop <mika@grml.org>
Tue, 23 Feb 2010 10:20:01 +0000 (11:20 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 23 Feb 2010 10:20:01 +0000 (11:20 +0100)
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives

index 5dc1c67..bc6c508 100755 (executable)
@@ -60,7 +60,7 @@ fi
 # sadly isn't available via update-alternates, anyway - use
 # ntfs-3g (if available) as default for ntfs
 if [ -r $target/sbin/mount.ntfs-3g ] || [ -L $target/sbin/mount.ntfs-3g ] ; then
-   $ROOTCMD ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs
+   $ROOTCMD ln -sf /sbin/mount.ntfs-3g /sbin/mount.ntfs
 fi
 
 ## END OF FILE #################################################################