From bf166b62180b7fda215323dc8b396bd53c3fbf05 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 25 Aug 2019 13:52:27 +0200 Subject: [PATCH] Also remove symlinks. --- src/rpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpkg b/src/rpkg index 6d390fc..74d8e35 100755 --- a/src/rpkg +++ b/src/rpkg @@ -23,7 +23,7 @@ do then out=$(rmdir -v "$file" 2>&1) [ $? -eq 0 ] && echo $out - elif [ -e "$file" ] + elif [[ -L "$file" || -e "$file" ]] then rm -vf "$file" else