diff options
author | Thomas Haller <thaller@redhat.com> | 2022-04-06 09:46:14 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-04-06 09:46:14 +0200 |
commit | a4da2eb5e52d7bc4db56ceaa5699e316789e3e2f (patch) | |
tree | c3674a9889bd8b2a01be5d96aa92ba8f3d7bdbf8 | |
parent | 261d74d8819c6fde5cda8e2ab8353c7d2ff6b0cb (diff) |
contrib: improve detection of fedpkg repository in "makerepo.sh"
-rwxr-xr-x | contrib/fedora/utils/makerepo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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<<" |