summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 20:00:57 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 20:00:57 -0600
commit80401ac7e842df245c41fee340f32f7fcedd80f1 (patch)
tree3fc4844b728d8b564c17fcddba7803959178c8b2 /src/librefetch
parent4ae03b417dec34a237a2a36410800e5ed5042d7d (diff)
Phase out `load_conf_*` and `check_conf_*` functions
Replace their usages with `load_files *` and `check_vars *`
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 9b90798..ce60396 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -116,7 +116,8 @@ main() {
# Mode: download #######################################################
if [[ $mode =~ download ]]; then
- load_conf_libretools_librefetch || return 1
+ load_files librefetch
+ check_vars librefetch MIRROR DOWNLOADER || return 1
local url="${MIRROR}/${src}"