From c4283fe8a4adf615c8e9f62b378d3471c22e8232 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Mon, 20 Jan 2020 19:20:49 +0900 Subject: [PATCH] Add a convenience getter script --- get_zx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 get_zx diff --git a/get_zx b/get_zx new file mode 100755 index 0000000..5cc6721 --- /dev/null +++ b/get_zx @@ -0,0 +1,17 @@ +#! /bin/bash + +# A convenience script that will download the ZX installer, unpack it, and clean up. +# For maximum portability this script uses the gzipped package version. + +version=0.9.1 +zx="zx-$version" +tarball="$zx.tar.gz" + +wget "https://zxq9.com/projects/zomp/$tarball" +tar -zxf "$tarball" +cd "$zx" +chmod +x install +./install +cd .. +rm -rf "$zx" +rm "$tarball"