mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
contrib/makerepo: fix detection of centpkg for git+ssh:// remotes
This commit is contained in:
parent
ea49b50651
commit
c8d80f332d
|
@ -88,7 +88,7 @@ if [[ "$FEDPKG" == "" ]]; then
|
|||
URL="$(git config --get "remote.$REMOTE.url")"
|
||||
if [[ "$URL" = *'pkgs.devel.redhat.com'* ]]; then
|
||||
FEDPKG=rhpkg
|
||||
elif [[ "$URL" = *'gitlab.com:redhat/centos-stream'* ]]; then
|
||||
elif [[ "$URL" = *'gitlab.com'*'redhat/centos-stream'* ]]; then
|
||||
FEDPKG=centpkg
|
||||
elif [[ "$URL" = *'pkgs.fedoraproject.org/'* ]]; then
|
||||
FEDPKG=fedpkg
|
||||
|
|
Loading…
Reference in a new issue