Make sure variables needed for installation scripts are exported.

This commit is contained in:
Storm Dragon 2025-05-14 13:57:57 -04:00
parent ef43dca94f
commit 50b577d7aa

View File

@ -1160,8 +1160,8 @@ if [[ -z "$DISPLAY" ]]; then
export DISPLAY=":0" export DISPLAY=":0"
fi fi
# Settings file # Settings file
cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" export cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager"
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" export configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf"
mkdir -p "${cache}" mkdir -p "${cache}"
mkdir -p "${configFile%/*}" mkdir -p "${configFile%/*}"
# Create the path for AGM's helper programs. # Create the path for AGM's helper programs.