summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate5
1 files changed, 4 insertions, 1 deletions
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