lib/cli/update.rb
# Update is functionally the same as install at this point because
# Servers installed via steamcmd are simply "reinstalled" to update them
# Non-steamcmd servers are not supported at this point (thats a 0.3.0 thing)
Update is functionally the same as install at this point because
Servers installed via steamcmd are simply "reinstalled" to update them
Non-steamcmd servers are not supported at this point (thats a 0.3.0 thing)
Update is functionally the same as install at this point because Servers installed via steamcmd are simply " reinstalled " to update them Non - steamcmd servers are not supported at this point ( thats a 0 . 3 . 0 thing )
def update(game, path, steam_user, steam_password)
  puts "Beginning #{game.name} server update. This may take a while...".blue
  system("rm -f #{"/tmp/#{game.name}.service"}")
  system("rm -f /etc/systemd/system/#{game.name}.service")
  GameTemplate.new(game)
              .install(Helpers.get_install_path(path, game.name),
                      Helpers.get_steamcmd_login(steam_user, steam_password))
  puts "#{game.name} server update complete. Check the output for messages or warnings.".green
end
def update ( game , path , steam_user , steam_password ) puts "Beginning #{game.name} server update. This may take a while..." . blue system ( "rm -f #{"/tmp/#{game.name}.service"}" ) system ( "rm -f /etc/systemd/system/#{game.name}.service" ) GameTemplate . new ( game ) . install ( Helpers . get_install_path ( path , game . name ) , Helpers . get_steamcmd_login ( steam_user , steam_password ) ) puts "#{game.name} server update complete. Check the output for messages or warnings." . green end
Update is functionally the same as install at this point because
Servers installed via steamcmd are simply "reinstalled" to update them
Non-steamcmd servers are not supported at this point (thats a 0.3.0 thing)
Update is functionally the same as install at this point because Servers installed via steamcmd are simply " reinstalled " to update them Non - steamcmd servers are not supported at this point ( thats a 0 . 3 . 0 thing )
game
path
steam_user
steam_password