From f30a5e6e1c8e05a400e5bfd4a856ae9a542e0a09 Mon Sep 17 00:00:00 2001 From: xargon Date: Wed, 20 Jul 2022 09:51:56 +0200 Subject: [PATCH] Fixed dir_prep link creator --- retrodeck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retrodeck.sh b/retrodeck.sh index c4e34e89..5cd67754 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -41,7 +41,7 @@ dir_prep() { # creating the symlink echo "linking $real in $symlink" #DEBUG mkdir -pv "$(dirname "$symlink")" # creating the full path except the last folder - ln -sv "$real" "$symlink" + ln -svf "$real" "$symlink" # moving everything from the old folder to the new one, delete the old one if [ -d "$symlink.old" ];