summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 15:17:59 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 16:24:13 -0400
commit05128d533225b75f35f79a1f55b04556b7e9736b (patch)
treea2e8d723e76fd8e44c81ea0fbe1ad4dda597856d /src/librefetch
parentd712e575c0d5b1bf66443beec3e7ed75be636e2d (diff)
Merge conf.sh:load_files and conf.sh:check_vars into load_conf
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 7573678..58a98b9 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -174,8 +174,7 @@ doit() {
# Mode: download #######################################################
if [[ $mode =~ download ]]; then
- load_files librefetch
- check_vars librefetch MIRRORS DOWNLOADER || exit 1
+ load_conf librefetch.conf MIRRORS DOWNLOADER || exit
# Canonicalize $src
if [[ "$src" == libre://* ]]; then