From 05c2d01909d82fa68541aff8f82d968e76904ddf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Feb 2020 11:49:16 +0100 Subject: archPackagesUpdate: do not check for .git to see if it is a submodule - check .gitmodules directly --- archPackagesUpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archPackagesUpdate') diff --git a/archPackagesUpdate b/archPackagesUpdate index eec2fafb0..82aac38e2 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -882,7 +882,7 @@ else grep "^# Maintainer\s*:" "${paket}/PKGBUILD" | \ grep -vq "^# Maintainer\s*:\s\+Erich Eckner\s\+\$"; then >&2 echo "${paket}/PKGBUILD hat falsche(n) Maintainer" - if [ -d "${paket}/.git" ]; then + if grep -qxF '[submodule "'"${paket}"'"]' '.gitmodules'; then continue fi err=true -- cgit v1.2.3-70-g09d2