contrib/makerepo: fix detection of centpkg for git+ssh:// remotes
This commit is contained in:
@@ -88,7 +88,7 @@ if [[ "$FEDPKG" == "" ]]; then
|
|||||||
URL="$(git config --get "remote.$REMOTE.url")"
|
URL="$(git config --get "remote.$REMOTE.url")"
|
||||||
if [[ "$URL" = *'pkgs.devel.redhat.com'* ]]; then
|
if [[ "$URL" = *'pkgs.devel.redhat.com'* ]]; 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/'* ]]; then
|
||||||
FEDPKG=fedpkg
|
FEDPKG=fedpkg
|
||||||
|
Reference in New Issue
Block a user