Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-09-14 13:18:14 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-09-14 13:18:14 +0200
commite9a7c61175caf1e7fca688fe69443b509335a2af (patch)
tree31bf3798fdf650ffd1aa46ff7306897da436ed02 /bin/update
parentc6b8602075156e9997d0504fc861f11cd60ab613 (diff)
generating first statistics page with M4
Diffstat (limited to 'bin/update')
-rwxr-xr-xbin/update4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 31333dc..7be65a1 100755
--- a/bin/update
+++ b/bin/update
@@ -13,8 +13,12 @@ if test ! -d "${packages_dir}"; then
exit 1
fi
+echo "Updating main state git repo.."
+
git -C "${state_dir}" pull
+echo "Checking statistics.."
+
find "${state_dir}"/{core,extra}-{any,x86_64} -type f > /tmp/update_packages.$$
nof_packages=`cat /tmp/update_packages.$$ | wc -l`