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
|
[[ -f $1 ]] || return 1
|
||||||
|
|
||||||
local manjaro_tools_conf="$1"
|
manjaro_tools_conf="$1"
|
||||||
|
|
||||||
[[ -r ${manjaro_tools_conf} ]] && source ${manjaro_tools_conf}
|
[[ -r ${manjaro_tools_conf} ]] && source ${manjaro_tools_conf}
|
||||||
|
|
||||||
|
@ -322,11 +322,16 @@ load_config(){
|
||||||
}
|
}
|
||||||
|
|
||||||
load_pacman_conf(){
|
load_pacman_conf(){
|
||||||
|
|
||||||
|
[[ -f $1 ]] || return 1
|
||||||
|
|
||||||
if [[ -n ${pacman_conf} ]];then
|
if [[ -n ${pacman_conf} ]];then
|
||||||
pacman_conf=${pacman_conf}
|
pacman_conf=${pacman_conf}
|
||||||
else
|
else
|
||||||
pacman_conf="$1"
|
pacman_conf="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
load_sets(){
|
load_sets(){
|
||||||
|
|
Loading…
Reference in a new issue