Skip to content

Commit 4c6086c

Browse files
author
Roger Russel
committed
small fixes
1 parent 262e6c6 commit 4c6086c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/prepare.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ download_mods(){
3838
}
3939

4040
configs(){
41-
mkdir -p $TMP/factorio/$CONF
42-
cp -r ./configs/* $TMP/home/factorio/$CONF
41+
mkdir -p $TMP/home/$FACTORIO_SERVICE_USER/$CONF
42+
cp -r ./configs/* $TMP/home/$FACTORIO_SERVICE_USER/$CONF
4343
}
4444

4545
download_server

scripts/source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export TMP=./tmp
22
export SERVICES=/etc/systemd/system
33
export LOCAL_LIB=/usr/local/lib
44
export LOCAL_BIN=/usr/local/bin
5-
export CONF=factorio/configs
5+
export CONF=configs
66
export URL=https://factorio.com/get-download/stable/headless/linux64
77
export FACTORIO_SERVICE_USER=factorio

0 commit comments

Comments
 (0)