launcher scripts: overridable STATEDIR

This commit is contained in:
Gwenhael Le Moine 2024-09-25 13:58:07 +02:00
parent 4e80ba7ea8
commit d8648a0df7
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 3 additions and 3 deletions

2
dist/saturn40g vendored
View file

@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
STATEDIR=$STATE_HOME/saturn/40g STATEDIR=${STATEDIR:-$STATE_HOME/saturn/40g}
mkdir -p "$STATEDIR" mkdir -p "$STATEDIR"
if [ ! -e "$STATEDIR"/rom ]; then if [ ! -e "$STATEDIR"/rom ]; then

2
dist/saturn48gx vendored
View file

@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
STATEDIR=$STATE_HOME/saturn/48gx STATEDIR=${STATEDIR:-$STATE_HOME/saturn/48gx}
mkdir -p "$STATEDIR" mkdir -p "$STATEDIR"
if [ ! -e "$STATEDIR"/rom ]; then if [ ! -e "$STATEDIR"/rom ]; then

2
dist/saturn49g vendored
View file

@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
STATEDIR=$STATE_HOME/saturn/49g STATEDIR=${STATEDIR:-$STATE_HOME/saturn/49g}
mkdir -p "$STATEDIR" mkdir -p "$STATEDIR"
if [ ! -e "$STATEDIR"/rom ]; then if [ ! -e "$STATEDIR"/rom ]; then