index : checker | |
Archlinux32 consistency checker | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-12 07:53:18 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-12 07:53:18 +0200 |
commit | c6b8602075156e9997d0504fc861f11cd60ab613 (patch) | |
tree | 5ae82af4b74bf8f8d8feca4a9f57ef9010814655 /conf |
-rw-r--r-- | conf/default.conf | 12 | ||||
-rw-r--r-- | conf/local.conf | 0 |
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 |