From d9a8257a0275f24f93e6f21e6001fc19fbf448bd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 20 May 2023 18:36:03 +0200 Subject: anti-apartheid: master -> main --- bin/get-package-updates | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/get-package-updates b/bin/get-package-updates index b791dc2..9835bea 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -186,11 +186,16 @@ something_new=false for repo in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo}"'}"' + if [ "${repo}" = 'archlinux32' ]; then + branch='master' + else + branch='main' + fi # Update git repositories (upstream state and our package customizations). if [ -d "${repo_path}/.git" ]; then git -C "${repo_path}" pull --ff-only else - git -C "${repo_path}" fetch origin master:master + git -C "${repo_path}" fetch origin "${branch}:${branch}" fi || \ true # read previous git revision numbers from database. -- cgit v1.2.3-70-g09d2