gsd-cli 0.1.39 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cli/install.rb +2 -2
- data/lib/cli/update.rb +2 -2
- data/lib/cli.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc342edae0d179122cde867ab7ecb3af7d766e4cc7f605cbf95b5d5fecf3d295
|
|
4
|
+
data.tar.gz: 237a59f63593efc2f4af2ffc4ea37d376dbd485a7effdcea8d40b1ff80791bf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad0702cd98b88d40806508eae35a4ecc9d8467333bd831cb26bb3f39d747b694360ceb29f535a94225b58dbb37a2243ab77a33ce3c89ca233fbef83596f7f3b5
|
|
7
|
+
data.tar.gz: 18059bbdd4d2b68a12d4f4d9811cb2cd28cf19b66c491775fb6e4e3fa554c2e8ba2d66e740cd6c47579eba4b31dda361857a03ca51f84d1655b21d19b88b09bb
|
data/lib/cli/install.rb
CHANGED
|
@@ -19,11 +19,11 @@ command :install do |c|
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def install(game, path, steam_user, steam_password)
|
|
22
|
-
puts "Beginning to install dedicated server for #{game}. This may take a while...".blue
|
|
22
|
+
puts "Beginning to install dedicated server for #{game.name}. This may take a while...".blue
|
|
23
23
|
system("rm -f #{"/tmp/#{game.name}.service"}")
|
|
24
24
|
system("rm -f /etc/systemd/system/#{game.name}.service")
|
|
25
25
|
GameTemplate.new(game)
|
|
26
26
|
.install(Helpers.get_install_path(path, game.name),
|
|
27
27
|
Helpers.get_steamcmd_login(steam_user, steam_password))
|
|
28
|
-
puts "Dedicated server installation for #{game} complete. Check the output for messages or warnings.".green
|
|
28
|
+
puts "Dedicated server installation for #{game.name} complete. Check the output for messages or warnings.".green
|
|
29
29
|
end
|
data/lib/cli/update.rb
CHANGED
|
@@ -23,11 +23,11 @@ end
|
|
|
23
23
|
# Servers installed via steamcmd are simply "reinstalled" to update them
|
|
24
24
|
# Non-steamcmd servers are not supported at this point (thats a 0.3.0 thing)
|
|
25
25
|
def update(game, path, steam_user, steam_password)
|
|
26
|
-
puts "Beginning #{game} server update. This may take a while...".blue
|
|
26
|
+
puts "Beginning #{game.name} server update. This may take a while...".blue
|
|
27
27
|
system("rm -f #{"/tmp/#{game.name}.service"}")
|
|
28
28
|
system("rm -f /etc/systemd/system/#{game.name}.service")
|
|
29
29
|
GameTemplate.new(game)
|
|
30
30
|
.install(Helpers.get_install_path(path, game.name),
|
|
31
31
|
Helpers.get_steamcmd_login(steam_user, steam_password))
|
|
32
|
-
puts "#{game} server update complete. Check the output for messages or warnings.".green
|
|
32
|
+
puts "#{game.name} server update complete. Check the output for messages or warnings.".green
|
|
33
33
|
end
|
data/lib/cli.rb
CHANGED