mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 12:05:03 +00:00
contrib: improve detection of fedpkg repository in "makerepo.sh"
This commit is contained in:
parent
261d74d881
commit
a4da2eb5e5
|
@ -90,7 +90,7 @@ if [[ "$FEDPKG" == "" ]]; then
|
||||||
FEDPKG=rhpkg
|
FEDPKG=rhpkg
|
||||||
elif [[ "$URL" = *'gitlab.com'*'redhat/centos-stream'* ]]; then
|
elif [[ "$URL" = *'gitlab.com'*'redhat/centos-stream'* ]]; then
|
||||||
FEDPKG=centpkg
|
FEDPKG=centpkg
|
||||||
elif [[ "$URL" = *'pkgs.fedoraproject.org/'* ]]; then
|
elif [[ "$URL" = *'pkgs.fedoraproject.org/'* || "$URL" = *'src.fedoraproject.org/'* ]]; then
|
||||||
FEDPKG=fedpkg
|
FEDPKG=fedpkg
|
||||||
else
|
else
|
||||||
die "not inside dist-git repository? Check out a branch that has the dist-git remote tracking branch >>$PWD<<"
|
die "not inside dist-git repository? Check out a branch that has the dist-git remote tracking branch >>$PWD<<"
|
||||||
|
|
Loading…
Reference in a new issue