zx/unix/get_zx

19 lines
377 B
Bash
Executable File

#! /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.12.3
zx="zx-$version"
tarball="$zx.tar.gz"
wget -nv "https://zxq9.com/projects/zomp/$tarball"
tar -zxf "$tarball"
cd "$zx"
chmod +x install
./install
cd ..
rm -rf "$zx"
rm "$tarball"
rm -- "$0"