Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
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`