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