Check proper config file location
This commit is contained in:
parent
485057f42d
commit
2b4e21e293
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ etcbases=${XDG_CONFIG_DIRS:-"/etc/xdg"}
|
|||
cfgbase=${XDG_CONFIG_HOME:-"${HOME}/.config"}
|
||||
cfgfile="/update-mirrors/config.sh"
|
||||
|
||||
if [[ -x $cfgfile ]]; then
|
||||
if [[ -x "${cfgbase}${cfgfile}" ]]; then
|
||||
source "${cfgbase}${cfgfile}"
|
||||
else
|
||||
load-global-config $etcbases $cfgfile
|
||||
|
|
Loading…
Reference in a new issue