diff --git a/src b/src index 0235dd6..b5f9e53 100755 --- a/src +++ b/src @@ -29,10 +29,13 @@ add_item() { rm_item() { ## Remove this entry from the srcfile + ## and delete the source files afterwards tmp="$srcfile.tmp" awk "$$3 != $1 { print }" "$srcfile" > "$tmp" mv "$tmp" "$srcfile" + + rm -rf "$3" } update_gitrepo() { @@ -106,7 +109,7 @@ update_all() { "") ;; *) - echo "Errors occurred during: $updated" + echo "Errors occurred during:$updated" ;; esac @@ -115,7 +118,7 @@ update_all() { echo "Nothing updated" ;; *) - echo "Updated: $updated" + echo "Updated:$updated" ;; esac