fix on uninstall script

This commit is contained in:
daniel0alves
2026-01-14 09:27:39 +00:00
parent 9611288d79
commit 887d54bf07
+2 -2
View File
@@ -45,7 +45,7 @@ function delete_targets(){
printf "${STY_YELLOW}Target \"$path\" inexists, skipping...${STY_RST}\n"
continue
elif [[ "$path" == "$HOME"* ]]; then
x rm -- "$path"
x rm -fr "$path"
else
while true; do
printf "WARNING: Target \"$path\" is not under \$HOME. Still delete it?\ny=Yes, delete it;\nn=No, skip this one\n"
@@ -53,7 +53,7 @@ function delete_targets(){
echo
case "$ans" in
y|Y)
x rm -- "$path"
x rm -fr "$path"
break 1
;;
n|N)