mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-15 12:08:26 +00:00
Fix instance config template installation
The `arkServerRoot` was not being updated to the desired path in `instance.cfg.example`. Fix this.
This commit is contained in:
parent
98a9463daf
commit
0b741f45dc
@ -307,6 +307,10 @@ else
|
||||
|
||||
# Copy example instance config
|
||||
cp instance.cfg.example "${INSTALL_ROOT}${INSTANCEDIR}/instance.cfg.example"
|
||||
chown "$steamcmd_user" "${INSTALL_ROOT}${INSTANCEDIR}/instance.cfg.example"
|
||||
# Change the defaults in the new instance config template
|
||||
sed -i -e "s|\"/home/steam|\"/home/$steamcmd_user|" \
|
||||
"${INSTALL_ROOT}${INSTANCEDIR}/instance.cfg.example"
|
||||
|
||||
# Copy arkmanager bash_completion into /etc/bash_completion.d/
|
||||
cp bash_completion/arkmanager "${INSTALL_ROOT}/etc/bash_completion.d/arkmanager"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user