index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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. |