mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WRAPPER: fixed the file migration in dir_prep
This commit is contained in:
parent
5fa4ec4f77
commit
72ee1c4938
|
@ -41,7 +41,7 @@ dir_prep() {
|
||||||
if [ -d "$symlink.old" ];
|
if [ -d "$symlink.old" ];
|
||||||
then
|
then
|
||||||
echo "Moving the data from $symlink.old to $real" #DEBUG
|
echo "Moving the data from $symlink.old to $real" #DEBUG
|
||||||
mv -fv "$symlink.old/*" "$real"
|
mv -fv "$symlink".old/* $real
|
||||||
echo "Removing $symlink.old" #DEBUG
|
echo "Removing $symlink.old" #DEBUG
|
||||||
rm -rf "$symlink.old"
|
rm -rf "$symlink.old"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue