Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/change-git-remotes
diff options
context:
space:
mode:
Diffstat (limited to 'bin/change-git-remotes')
-rwxr-xr-xbin/change-git-remotes6
1 files changed, 6 insertions, 0 deletions
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
)