Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates7
1 files changed, 6 insertions, 1 deletions
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.