Move log directory to where it SHOULD be

This commit is contained in:
Salt 2020-09-25 02:12:57 -05:00
parent aa29525822
commit 24282ff7b5

View File

@ -14,7 +14,7 @@ declare -r _sessionid="$(< /proc/self/sessionid)"
# Options
declare _optconfigdir="${XDG_CONFIG_HOME:-$HOME/.config}/${_name}"
declare _optdryrun
declare _optlogdir="$_optconfigdir/logs"
declare _optlogdir="${XDG_DATA_HOME:-$HOME/.local/share}/${_name}"
declare -i _opthelp
declare -i _optverbose
# Working variables