mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-26 07:55:37 +00:00
Fixed dir_prep link creator
This commit is contained in:
parent
3ebd74df77
commit
f30a5e6e1c
|
@ -41,7 +41,7 @@ dir_prep() {
|
||||||
# creating the symlink
|
# creating the symlink
|
||||||
echo "linking $real in $symlink" #DEBUG
|
echo "linking $real in $symlink" #DEBUG
|
||||||
mkdir -pv "$(dirname "$symlink")" # creating the full path except the last folder
|
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
|
# moving everything from the old folder to the new one, delete the old one
|
||||||
if [ -d "$symlink.old" ];
|
if [ -d "$symlink.old" ];
|
||||||
|
|
Loading…
Reference in a new issue