test: dragonly bsd support
This commit is contained in:
parent
b8f4dbd8d1
commit
b19b3a37fe
2 changed files with 6 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ linuxrelease()
|
|||
{
|
||||
box=$1
|
||||
release="unknown"
|
||||
for r in freebsd openbsd opensuse ubuntu centos coreos alpine debian arch gentoo fedora rhel; do
|
||||
for r in freebsd dragonfly openbsd opensuse ubuntu centos coreos alpine debian arch gentoo fedora rhel; do
|
||||
# -i ignore case
|
||||
if [ -n "$(echo "$box" | grep -io "$r")" ]; then
|
||||
release=$r
|
||||
|
|
@ -128,7 +128,7 @@ case $release in
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
freebsd)
|
||||
freebsd | dragonfly)
|
||||
# packages for building
|
||||
$sshcmd sudo pkg upgrade -y
|
||||
$sshcmd sudo pkg install -y git gmake bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue