1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00
nux-env/machine/bootstrap/x64-nuxenv.sh
Tony Tkacik fc1b5bbc87 Added taskie configuration & other stuff.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
2019-01-28 06:22:49 +01:00

16 lines
299 B
Bash
Executable file

#!/bin/bash
function .not_present() {
if which "$1" &> /dev/null; then
return 1
fi
return 0;
}
if .not_present yaml; then
wget https://github.com/mikefarah/yaml/releases/download/1.11/yaml_linux_amd64 -O ~/bin/yaml
chmod +x ~/bin/yaml
fi
if .not_present jq; then
apt install jq
fi