index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-30 10:23:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-30 10:23:57 +0200 |
commit | 42c69f3c1bdf6358ad1ab632997d3a12fd11dd4f (patch) | |
tree | 9cf16f4f3b5e21374a321ca4c60fa48f12ada6cf /lib/load-configuration | |
parent | 731a2e13d0c87cbc1a7467f17bcf01fb84faf357 (diff) |
-rwxr-xr-x | lib/load-configuration | 5 |
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" |