mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix on uninstall script
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user