Assume /home/gnoel/.local/share if XDG_DATA_HOME is not set
This commit is contained in:
parent
de611e0d4e
commit
8d6445c632
@ -742,7 +742,7 @@ find_stack_root() {
|
||||
if [ -n "${STACK_ROOT}" ] ; then
|
||||
echo "${STACK_ROOT}"
|
||||
elif [ -n "${STACK_XDG}" ] ; then
|
||||
echo "${XDG_DATA_HOME}/stack"
|
||||
echo "${XDG_DATA_HOME:-$HOME/.local/share}/stack"
|
||||
else
|
||||
echo "${HOME}/.stack"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user