From 1551e4dd0ace625e50b840573340c1540b0f7fbf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 12 Sep 2019 09:14:31 +0200 Subject: bin/change-git-remotes: unconditionally try git before https --- bin/change-git-remotes | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bin') 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 ) -- cgit v1.2.3-70-g09d2