Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 10:23:57 +0200
committerErich Eckner <git@eckner.net>2018-05-30 10:23:57 +0200
commit42c69f3c1bdf6358ad1ab632997d3a12fd11dd4f (patch)
tree9cf16f4f3b5e21374a321ca4c60fa48f12ada6cf /lib/load-configuration
parent731a2e13d0c87cbc1a7467f17bcf01fb84faf357 (diff)
lib/mysql-functions: mysql_retrieve_repository_ids() -> mysql_retrieve_static_information() ... and it will be called automatically by lib/load-configuration
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index f70daeb..4edea90 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -26,13 +26,14 @@ if pgrep -x mysqld >/dev/null 2>&1; then
i_am_the_master=true
# shellcheck source=../lib/mysql-functions
. "${base_dir}/lib/mysql-functions"
- # TODO: maybe we should load some infos from the db in this case?
- # e.g. mysql_retrieve_repository_ids
+
+ mysql_retrieve_static_information
else
i_am_the_master=false
fi
# TODO: some of this should be read from the database instead
+# (in mysql_retrieve_static_information)
repo_names='packages community archlinux32'
repo_paths__packages="${work_dir}/repos/packages"
repo_paths__community="${work_dir}/repos/community"