mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 22:15:39 +00:00
Fixed dir_prep link creator
Merge pull request #90 from XargonWan/cooker-0.4.5b
This commit is contained in:
commit
b2517b9e37
|
@ -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