mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-23 23:18:28 +00:00
Fix install.sh
It was modifying arkmanager.cfg, when it should have been modifying arkmanager.cfg.NEW
This commit is contained in:
parent
c9ddb5c87d
commit
94eda243bf
@ -276,7 +276,7 @@ else
|
|||||||
-e "s|^install_bindir=.*|install_bindir=\"${BINDIR}\"|" \
|
-e "s|^install_bindir=.*|install_bindir=\"${BINDIR}\"|" \
|
||||||
-e "s|^install_libexecdir=.*|install_libexecdir=\"${LIBEXECDIR}\"|" \
|
-e "s|^install_libexecdir=.*|install_libexecdir=\"${LIBEXECDIR}\"|" \
|
||||||
-e "s|^install_datadir=.*|install_datadir=\"${DATADIR}\"|" \
|
-e "s|^install_datadir=.*|install_datadir=\"${DATADIR}\"|" \
|
||||||
"${INSTALL_ROOT}/etc/arkmanager/arkmanager.cfg"
|
"${INSTALL_ROOT}/etc/arkmanager/arkmanager.cfg.NEW"
|
||||||
|
|
||||||
if [ -f "${INSTALL_ROOT}/etc/arkmanager/arkmanager.cfg" ]; then
|
if [ -f "${INSTALL_ROOT}/etc/arkmanager/arkmanager.cfg" ]; then
|
||||||
echo "A previous version of ARK Server Tools was detected in your system, your old configuration was not overwritten. You may need to manually update it."
|
echo "A previous version of ARK Server Tools was detected in your system, your old configuration was not overwritten. You may need to manually update it."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user