diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:00:57 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:00:57 -0600 |
commit | 80401ac7e842df245c41fee340f32f7fcedd80f1 (patch) | |
tree | 3fc4844b728d8b564c17fcddba7803959178c8b2 /src/librefetch | |
parent | 4ae03b417dec34a237a2a36410800e5ed5042d7d (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-x | src/librefetch/librefetch | 3 |
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}" |