Update download link for Cuberite to generic source.

Now this download location is robust against changes to the buildserver or main project URL.
This commit is contained in:
Alexander Harkness
2020-03-25 19:47:32 +00:00
committed by GitHub
parent e804183591
commit 251e626fb3

View File

@@ -17,7 +17,7 @@
},
"scripts": {
"installation": {
"script": "#!\/bin\/ash\r\n# Cuberite\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y wget\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/builds.cuberite.org\/job\/Cuberite%20Linux%20x64%20Master\/lastSuccessfulBuild\/artifact\/Cuberite.tar.gz\r\n\r\ntar --strip-components=1 -xf Cuberite.tar.gz",
"script": "#!\/bin\/ash\r\n# Cuberite\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y wget\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/download.cuberite.org\/linux-x86_64\/Cuberite.tar.gz\r\n\r\ntar --strip-components=1 -xf Cuberite.tar.gz",
"container": "debian:buster-slim",
"entrypoint": "bash"
}
@@ -51,4 +51,4 @@
"rules": "required|integer|between:1,65535"
}
]
}
}