gsd-cli 0.1.35 → 0.1.36
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 +3 -1
- 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: a4417b24df4b4171f873c04ce91aac0a59b45992f28893ef8e68c91728b1eb1e
|
4
|
+
data.tar.gz: a18213aeaf377b85fc21e123ef833b2f0e36ee53020457b368a81c9805c16c51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb8cdf33508f4f603f9864f516ed245c4fa2a7025df9ab94d882072c360e8e7ae5fb88a28b8947c31488218f48616ef044cba764ad3ee736be68bb8ec63d2dce
|
7
|
+
data.tar.gz: c23a618aa2c69e6b718562fd8b6777d563a655b048f0ba201a84293214fe70890654fb90b8cd33600a0f874273e3f1e16a95eb1c9c51affd4108fb3a6a2cd3fc
|
data/lib/cli/install.rb
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
def install(game, path, steam_user, steam_password)
|
21
21
|
puts "Beginning installation process. This may take a while...".yellow
|
22
22
|
install_path = if path.nil?
|
23
|
-
puts "Install path was not provided:
|
23
|
+
puts "Install path was not provided: defaulting to /opt/#{game.name}".yellow
|
24
24
|
"/opt/#{game.name}"
|
25
25
|
else
|
26
26
|
path
|
@@ -30,6 +30,8 @@ def install(game, path, steam_user, steam_password)
|
|
30
30
|
else
|
31
31
|
"+login #{steam_user} #{steam_password}"
|
32
32
|
end
|
33
|
+
system("rm -f #{"/tmp/#{@game.name}.service"}")
|
34
|
+
system("rm -f /etc/systemd/system/#{@game.name}.service")
|
33
35
|
GameTemplate.new(game).install(install_path, steam_login)
|
34
36
|
puts "Server installation & deployment complete!".green
|
35
37
|
end
|
data/lib/cli.rb
CHANGED