Install bash_unit

This commit is contained in:
Björn Busse 2021-03-03 18:59:09 +01:00
parent 91224564bb
commit d7af6025fe
1 changed files with 13 additions and 0 deletions

13
install_bash_unit.sh Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
install() {
if [ -f "bash_unit" ]; then
printf "bash_unit exists\n"
else
curl -o /tmp/install.sh -sLO $1
chmod +x /tmp/install.sh
/tmp/install.sh
fi
}
install https://raw.githubusercontent.com/bbusse/bash_unit/freebsd-compat/install.sh