Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/setup
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/setup
parentc6b8602075156e9997d0504fc861f11cd60ab613 (diff)
generating first statistics page with M4
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup
index f1e252c..150e168 100755
--- a/bin/setup
+++ b/bin/setup
@@ -22,6 +22,7 @@ else
echo "package directory exists"
fi
+
for repo in core extra; do
for arch in any x86_64; do
if test ! -d "${packages_dir}/${repo}-${arch}"; then
@@ -33,4 +34,11 @@ for repo in core extra; do
done
done
+if test ! -d "${data_dir}"; then
+ echo "creating directory for storing data.."
+ mkdir -p "${data_dir}"
+else
+ echo "data directory exists"
+fi
+
# TODO: AUR directory