From 78e95e5be7476be81c8f3ef150ebb53c2dc9987c Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Sat, 7 Dec 2019 14:20:10 +0100 Subject: [PATCH] wip src --- src | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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