From a4da2eb5e52d7bc4db56ceaa5699e316789e3e2f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 6 Apr 2022 09:46:14 +0200 Subject: [PATCH] contrib: improve detection of fedpkg repository in "makerepo.sh" --- contrib/fedora/utils/makerepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index 7014c3038b..7f471f75c6 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -90,7 +90,7 @@ if [[ "$FEDPKG" == "" ]]; then FEDPKG=rhpkg elif [[ "$URL" = *'gitlab.com'*'redhat/centos-stream'* ]]; then FEDPKG=centpkg - elif [[ "$URL" = *'pkgs.fedoraproject.org/'* ]]; then + elif [[ "$URL" = *'pkgs.fedoraproject.org/'* || "$URL" = *'src.fedoraproject.org/'* ]]; then FEDPKG=fedpkg else die "not inside dist-git repository? Check out a branch that has the dist-git remote tracking branch >>$PWD<<"