Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-12 09:14:31 +0200
committerErich Eckner <git@eckner.net>2019-09-12 09:14:31 +0200
commit1551e4dd0ace625e50b840573340c1540b0f7fbf (patch)
tree6cc817ee41b2d4594c7ce5bb004e08498f6518ac
parent114282aea1e14cb502c0be95d8bd7ef8c5c7bbd3 (diff)
bin/change-git-remotes: unconditionally try git before https
-rwxr-xr-xbin/change-git-remotes8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/change-git-remotes b/bin/change-git-remotes
index 34aa03c..7d39c58 100755
--- a/bin/change-git-remotes
+++ b/bin/change-git-remotes
@@ -55,18 +55,14 @@ fi
case "${git_name}" in
'archlinux32')
new_urls=$(
- if [ -z "${url##git*}" ]; then
- printf 'git@git.archlinux32.org:archlinux32/packages.git\n'
- fi
+ printf 'git@git.archlinux32.org:archlinux32/packages.git\n'
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 'git@git.archlinux32.org:archlinux32/builder.git\n'
printf 'https://git%s.archlinux32.org/archlinux32/builder\n' \
'' 2 3 4
)