diff options
author | Eric Brandwein | 2019-04-04 14:40:43 -0300 |
---|---|---|
committer | Eric Brandwein | 2019-04-04 14:40:43 -0300 |
commit | 6a75eb664806711365f914e7dbe6e34b97f65520 (patch) | |
tree | 997d7106479cfde6bf611e808a36583e85401969 /clonehero.sh | |
parent | 2415252f94211976f33903b5956fa7f38e85402c (diff) | |
download | aur-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-x | clonehero.sh | 3 |
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 |