Add a convenience getter script

This commit is contained in:
Craig Everett 2020-01-20 19:20:49 +09:00
parent 811ddd7532
commit c4283fe8a4

17
get_zx Executable file
View File

@ -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"