mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 16:30:07 +01:00
contrib: improve detection of fedpkg repository in "makerepo.sh"
This commit is contained in:
parent
261d74d881
commit
a4da2eb5e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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<<"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue