summarylogtreecommitdiffstats
path: root/clonehero.sh
diff options
context:
space:
mode:
authorEric Brandwein2019-04-04 14:40:43 -0300
committerEric Brandwein2019-04-04 14:40:43 -0300
commit6a75eb664806711365f914e7dbe6e34b97f65520 (patch)
tree997d7106479cfde6bf611e808a36583e85401969 /clonehero.sh
parent2415252f94211976f33903b5956fa7f38e85402c (diff)
downloadaur-6a75eb664806711365f914e7dbe6e34b97f65520.tar.gz
v0.21.7-2: Remove old and new data folder
Just in case you downloaded the v0.22.* update, which was downgraded after.
Diffstat (limited to 'clonehero.sh')
-rwxr-xr-xclonehero.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/clonehero.sh b/clonehero.sh
index fa5cee4ce794..96f84b534138 100755
--- a/clonehero.sh
+++ b/clonehero.sh
@@ -41,7 +41,8 @@ fi
if [[ "/opt/$pkgname/clonehero_Data" -nt "$HOME/.$pkgname/clonehero_Data" ]]; then
echo "Replacing old data folder"
# This was the name of the data folder before v0.21.7
- rm "$HOME/.$pkgname/Clone Hero_Data"
+ rm -rf "$HOME/.$pkgname/Clone Hero_Data"
+ rm -rf "$HOME/.$pkgname/clonehero_Data"
cp -r "/opt/$pkgname/clonehero_Data" "$HOME/.$pkgname/clonehero_Data"
fi