mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-27 04:28:05 +00:00
Let steamcmd update itself before installing Satisfactory (#17526)
On the run in which steamcmd replaces itself, the app_update that follows fails with 'Missing configuration', and the same command succeeds once it runs again. A login-only run first takes that self-update out of the install and update.
This commit is contained in:
@@ -39,6 +39,7 @@ function update_script() {
|
||||
create_backup /home/steam/.config/Epic/FactoryGame/Saved
|
||||
|
||||
msg_info "Updating Satisfactory"
|
||||
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh +login anonymous +quit || true
|
||||
if $STD runuser -u steam -- /opt/steamcmd/steamcmd.sh \
|
||||
+force_install_dir /opt/satisfactory/server \
|
||||
+login anonymous \
|
||||
|
||||
@@ -35,6 +35,7 @@ fetch_and_deploy_from_url \
|
||||
chown -R steam:steam /opt/steamcmd
|
||||
|
||||
msg_info "Installing Satisfactory Dedicated Server"
|
||||
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh +login anonymous +quit || true
|
||||
$STD runuser -u steam -- /opt/steamcmd/steamcmd.sh \
|
||||
+force_install_dir /opt/satisfactory/server \
|
||||
+login anonymous \
|
||||
|
||||
Reference in New Issue
Block a user