From ed6904a5c0732424f34c5b3ba42eb6974ca62f26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Jun 2018 08:27:05 +0200 Subject: make "git remote update" failure non-fatal - if it is actually required, we will fail later anyways --- bin/get-package-updates | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 997a260..e6b7711 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -153,7 +153,8 @@ something_new=false for repo in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo}"'}"' # Update git repositories (official packages, community packages and the repository of package customizations). - git -C "${repo_path}" remote update + git -C "${repo_path}" remote update || \ + true # read previous git revision numbers from database. # shellcheck disable=SC2016 eval "old_repo_revisions__${repo}='$( -- cgit v1.2.3