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