Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-09-12 07:53:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-09-12 07:53:18 +0200
commitc6b8602075156e9997d0504fc861f11cd60ab613 (patch)
tree5ae82af4b74bf8f8d8feca4a9f57ef9010814655 /conf
initial revision, checking out states and repos
Diffstat (limited to 'conf')
-rw-r--r--conf/default.conf12
-rw-r--r--conf/local.conf0
2 files changed, 12 insertions, 0 deletions
diff --git a/conf/default.conf b/conf/default.conf
new file mode 100644
index 0000000..bd1be9b
--- /dev/null
+++ b/conf/default.conf
@@ -0,0 +1,12 @@
+script_name=`readlink -f "$0"`
+script_dir=`dirname ${script_name}`
+base_dir_rel=`printf '%s/..' "${script_dir}"`
+base_dir=`realpath ${base_dir_rel}`
+
+if test -r "${base_dir}/conf/local.conf"; then
+ . "${base_dir}/conf/local.conf"
+fi
+
+script_dir="${base_dir}/scripts"
+state_dir="${base_dir}/state"
+packages_dir="${base_dir}/packages"
diff --git a/conf/local.conf b/conf/local.conf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/conf/local.conf