From c3f109d6cd5553cd4b6281d9bec09611d906b3c1 Mon Sep 17 00:00:00 2001 From: OS Hazard Date: Thu, 29 Sep 2016 16:11:48 -0700 Subject: [PATCH] Fixed #68 bug with CLI flag precedence over config file --- apacman | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apacman b/apacman index 712065d..e8f9c2d 100755 --- a/apacman +++ b/apacman @@ -5,6 +5,7 @@ version="2.7" # Copyright OS Hazard # # New Features: +# * Fix CLI switch precedence over config file # * Improved support for virtual packages # * Improved -U handling # * Built-in ABS support (improved) @@ -1066,6 +1067,9 @@ pacwrap() { exit 0; } +# Override defaults +sourceapacmanconf + # Argument parsing [[ $1 ]] || usage packageargs=() @@ -1124,9 +1128,6 @@ while [[ $1 ]]; do shift done -# Override defaults -sourceapacmanconf - # Set tmpfile stuff, clean tmpdir rm -rf "$tmpdir" &>/dev/null mkdir -p "$tmpdir"