From b25c07d3aa2e41c2248eac34893cf6e934961276 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 2 May 2017 14:54:06 +0200 Subject: bin/get-package-updates: be more forceful with git repositories --- bin/get-package-updates | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/get-package-updates b/bin/get-package-updates index 05bdcaa..de58eb2 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -17,6 +17,8 @@ flock -n 9 || exit # Update git repositories (official packages, community packages and the repository of package customizations). for repo in "${repo_paths[@]}"; do + git -C "${repo}" clean -df + git -C "${repo}" checkout master git -C "${repo}" pull done -- cgit v1.2.3-54-g00ecf