From 81f86fba70bd03b77bdd878d29fa0c78c2fbd986 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 14 Jan 2020 13:55:05 +0100 Subject: archPackagesUpdate: update non-bare git sources correctly, too --- archPackagesUpdate | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index 2330c4f6..aaf585a0 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -429,7 +429,10 @@ if ${aufRechenknecht}; then maxErr=0 # update git sources - find "${SRCDEST}" -mindepth 2 -maxdepth 2 -name 'HEAD' | \ + find "${SRCDEST}" -mindepth 2 -maxdepth 2 \( \ + -name 'HEAD' \ + -o -name '.git' \ + \) | \ sed 's|/[^/]*$||' | \ while read -r repo; do git -C "${repo}" fetch --all -p -- cgit v1.2.3-54-g00ecf