index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-09-10 10:38:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-10 10:38:29 +0200 |
commit | 114282aea1e14cb502c0be95d8bd7ef8c5c7bbd3 (patch) | |
tree | 61e40074c62d0012b253679b3699110656c2082d /bin/change-git-remotes | |
parent | 6fbaaeb0030dd304c9902bc1be533de2d44d001d (diff) |
-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 ) |