Fix XDG_CONFIG_HOME environment variable check.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-11-02 16:09:59 +01:00
parent 593b389ccb
commit 77b8c82a6c

View File

@ -55,7 +55,7 @@ function set_config_vars()
if [ -z "$ISIDORE_CONFIG_DIR" ] if [ -z "$ISIDORE_CONFIG_DIR" ]
then then
if [ -z "$XDG_CONFIG_HOME" ] if ! [ -z "$XDG_CONFIG_HOME" ]
then then
ISIDORE_CONFIG_DIR="$XDG_CONFIG_HOME/isidore" ISIDORE_CONFIG_DIR="$XDG_CONFIG_HOME/isidore"
else else