From ca46b4e860852d4e30bbf124b2b8bd0ceee7bb81 Mon Sep 17 00:00:00 2001 From: Sir3lit Date: Fri, 7 Dec 2018 01:23:22 -0500 Subject: [PATCH] Update egg-open-t-t-d-server.json --- openttd/egg-open-t-t-d-server.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openttd/egg-open-t-t-d-server.json b/openttd/egg-open-t-t-d-server.json index e39343a7..d213ce4b 100644 --- a/openttd/egg-open-t-t-d-server.json +++ b/openttd/egg-open-t-t-d-server.json @@ -17,7 +17,7 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/ash\r\napt -y update\r\napt -y --no-install-recommends install wget tar unzip ca-certificates curl\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n## Download game\r\nwget https:\/\/binaries.openttd.org\/releases\/1.8.0\/openttd-1.8.0-linux-generic-amd64.tar.gz \r\ntar xf \/mnt\/server\/openttd-1.8.0-linux-generic-amd64.tar.gz\r\nmv openttd-1.8.0-linux-generic-amd64\/* .\r\nchmod +x openttd\r\n\r\n## Get opensoruce gfx\r\ncd \/mnt\/server\r\nwget https:\/\/binaries.openttd.org\/extra\/opengfx\/0.5.2\/opengfx-0.5.2-all.zip\r\nunzip opengfx-0.5.2-all.zip\r\ntar -xvf opengfx-0.5.2.tar\r\ncd opengfx-0.5.2\r\nmv -t \/mnt\/server\/baseset ogfx1_base.grf ogfxc_arctic.grf ogfxe_extra.grf ogfxh_tropical.grf ogfxi_logos.grf ogfxt_toyland.grf opengfx.obg\r\n\r\n## Remove excess files\r\ncd \/mnt\/server\r\nrm opengfx-0.5.2-all.zip opengfx-0.5.2.tar openttd-1.8.0-linux-generic-amd64.tar.gz\r\nrm -r opengfx-0.5.2-all openttd-1.8.0-linux-generic-amd64\r\ncurl https:\/\/justmyrandomstuff.com\/img\/nFBT6S7.cfg >> openttd.cfg", + "script": "#!\/bin\/ash\r\napt -y update\r\napt -y --no-install-recommends install wget tar unzip ca-certificates curl\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n## Download game\r\nwget https:\/\/binaries.openttd.org\/releases\/1.8.0\/openttd-1.8.0-linux-generic-amd64.tar.gz \r\ntar xf \/mnt\/server\/openttd-1.8.0-linux-generic-amd64.tar.gz\r\nmv openttd-1.8.0-linux-generic-amd64\/* .\r\nchmod +x openttd\r\n\r\n## Get opensoruce gfx\r\ncd \/mnt\/server\r\nwget https:\/\/binaries.openttd.org\/extra\/opengfx\/0.5.2\/opengfx-0.5.2-all.zip\r\nunzip opengfx-0.5.2-all.zip\r\ntar -xvf opengfx-0.5.2.tar\r\ncd opengfx-0.5.2\r\nmv -t \/mnt\/server\/baseset ogfx1_base.grf ogfxc_arctic.grf ogfxe_extra.grf ogfxh_tropical.grf ogfxi_logos.grf ogfxt_toyland.grf opengfx.obg\r\n\r\n## Remove excess files\r\ncd \/mnt\/server\r\nrm opengfx-0.5.2-all.zip opengfx-0.5.2.tar openttd-1.8.0-linux-generic-amd64.tar.gz\r\nrm -r opengfx-0.5.2-all openttd-1.8.0-linux-generic-amd64\r\ncurl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/openttd\/egg-open-t-t-d-server.json >> openttd.cfg", "container": "ubuntu:18.04", "entrypoint": "bash" } @@ -60,4 +60,4 @@ "rules": "required|string|max:20" } ] -} \ No newline at end of file +}