diff --git a/src/rpkg b/src/rpkg index 6d390fc..8307613 100755 --- a/src/rpkg +++ b/src/rpkg @@ -24,10 +24,13 @@ do out=$(rmdir -v "$file" 2>&1) [ $? -eq 0 ] && echo $out elif [ -e "$file" ] + then + rm -vf "$file" + elif [ -L "$file" ] then rm -vf "$file" else - echo "File $file not found." + echo "File \"$file\" not found." RC=1 fi done