Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2025-03-13 09:04:31 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2025-03-13 09:04:31 +0100
commit58480403d9b74ac5f84108a24544d4e3506fbf35 (patch)
tree35dbe5804c8a19fa51a016bd067f380b5b291e80
parentcf118fdec9ce56cdf329a7b4a5a3cb1ccced754e (diff)
update: do a git reset hard before pulling
-rwxr-xr-xbin/update1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index a09b7e7..8c4706f 100755
--- a/bin/update
+++ b/bin/update
@@ -76,6 +76,7 @@ fi
if test "${UPDATE_UPSTREAM}" = 1; then
echo "Updating main state git repo.."
+ git -C "${state_dir}" reset --hard
git -C "${state_dir}" pull
find "${state_dir}"/{core,extra}-{any,x86_64} -type f | sort > /tmp/update_packages.$$