summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconf/default.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/default.conf b/conf/default.conf
index e712034..daa1955 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -7,6 +7,10 @@
set -e
export LANG=C
+# TODO: This should become lib/load-configuration to avoid confusion.
+# Additionally, there should be conf/common.conf.example,
+# conf/master.conf.example and conf/slave.conf.example.
+
# dirty hack to get this stuff debugable from a bash
if [ "x${0##*/}" = "x-bash" ] || [ "x${0##*/}" = "xbash" ] || [ "x${0##*/}" = "xdash" ]; then
base_dir=$(pwd)
@@ -27,6 +31,7 @@ if pgrep -x mysqld >/dev/null 2>&1; then
. "${base_dir}/lib/mysql-functions"
fi
+# TODO: some of this should be read from the database instead
repo_names='packages community archlinux32'
repo_paths__packages="${work_dir}/repos/packages"
repo_paths__community="${work_dir}/repos/community"