index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/change-git-remotes | 6 |
diff --git a/bin/change-git-remotes b/bin/change-git-remotes index e8ae5eb..34aa03c 100755 --- a/bin/change-git-remotes +++ b/bin/change-git-remotes @@ -55,12 +55,18 @@ fi case "${git_name}" in 'archlinux32') new_urls=$( + if [ -z "${url##git*}" ]; then + printf 'git@git.archlinux32.org:archlinux32/packages.git\n' + fi printf 'https://git%s.archlinux32.org/archlinux32/packages\n' \ '' 2 3 4 ) ;; 'builder') new_urls=$( + if [ -z "${url##git*}" ]; then + printf 'git@git.archlinux32.org:archlinux32/builder.git\n' + fi printf 'https://git%s.archlinux32.org/archlinux32/builder\n' \ '' 2 3 4 ) |