Skip to content

Commit

Permalink
Fix instance config template installation
Browse files Browse the repository at this point in the history
The `arkServerRoot` was not being updated to the desired path in `instance.cfg.example`.  Fix this.
  • Loading branch information
klightspeed authored Feb 16, 2017
1 parent 98a9463 commit 0b741f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0b741f4

Please sign in to comment.