This commit is contained in:
joachimschmidt557 2019-12-07 14:20:10 +01:00
parent e69144a7d9
commit 78e95e5be7

7
src
View file

@ -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