index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-05-20 18:36:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-05-20 18:36:03 +0200 |
commit | d9a8257a0275f24f93e6f21e6001fc19fbf448bd (patch) | |
tree | e1ed51e0c529d7c0d3f545acba3bc22057e9f592 | |
parent | 9d08ab3ee2aec838695fc949e4335fdaafbea7ff (diff) |
-rwxr-xr-x | bin/get-package-updates | 7 |
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. |