messed up mac home variable creation
This commit is contained in:
parent
448648ca84
commit
e239411053
2
flash
2
flash
|
|
@ -52,7 +52,7 @@
|
|||
# Prefer XDG Configuration before hard coded file paths
|
||||
OS="$(uname)"
|
||||
case "$OS" in
|
||||
"Darwin") DIR="${XDG_DATA_HOME:-HOME/Library/Application Support}/flash" ;;
|
||||
"Darwin") DIR="${XDG_DATA_HOME:-$HOME/Library/Application Support}/flash" ;;
|
||||
"Linux") DIR="${XDG_DATA_HOME:-$HOME/.local/share}/flash" ;;
|
||||
*) DIR="${XDG_DATA_HOME:-$HOME/.local/share}/flash" ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in New Issue