summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
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}"