small change
This commit is contained in:
parent
6f32075ea8
commit
a8ba321dea
1 changed files with 6 additions and 1 deletions
|
@ -165,7 +165,7 @@ load_config(){
|
|||
|
||||
[[ -f $1 ]] || return 1
|
||||
|
||||
local manjaro_tools_conf="$1"
|
||||
manjaro_tools_conf="$1"
|
||||
|
||||
[[ -r ${manjaro_tools_conf} ]] && source ${manjaro_tools_conf}
|
||||
|
||||
|
@ -322,11 +322,16 @@ load_config(){
|
|||
}
|
||||
|
||||
load_pacman_conf(){
|
||||
|
||||
[[ -f $1 ]] || return 1
|
||||
|
||||
if [[ -n ${pacman_conf} ]];then
|
||||
pacman_conf=${pacman_conf}
|
||||
else
|
||||
pacman_conf="$1"
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
load_sets(){
|
||||
|
|
Loading…
Reference in a new issue