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-19 15:23:25 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-09-19 15:23:25 +0200
commitb98887e1a4f044e13ba15a09486f615672ba472a (patch)
treebbbf1a94b9150a48068988b7b72d41dc71a94d3b /bin/setup
parentc8f372b24fef9c52e93c85f90df59ec2a1511b4a (diff)
can read package list from the AUR, also checking if missing pacakges have been dropped to the AUR
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup
index 150e168..fcb8c87 100755
--- a/bin/setup
+++ b/bin/setup
@@ -41,4 +41,11 @@ else
echo "data directory exists"
fi
+if test ! -d "${aur_state_dir}"; then
+ echo "no AUR state information directory exists.. creating it.."
+ mkdir "${aur_state_dir}"
+else
+ echo "AUR state information directory exists."
+fi
+
# TODO: AUR directory