diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 5713913..1330ac1 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1431,7 +1431,7 @@ __debian_derivatives_translation() { # If the file does not exist, return [ ! -f /etc/os-release ] && return - DEBIAN_DERIVATIVES="(cumulus_.+|devuan|kali|linuxmint|raspbian|bunsenlabs)" + DEBIAN_DERIVATIVES="(cumulus_.+|devuan|kali|linuxmint|raspbian|bunsenlabs|turnkey)" # Mappings cumulus_2_debian_base="7.0" cumulus_3_debian_base="8.0" @@ -1442,6 +1442,7 @@ __debian_derivatives_translation() { raspbian_8_debian_base="8.0" raspbian_9_debian_base="9.0" bunsenlabs_9_debian_base="9.0" + turnkey_9_debian_base="9.0" # Translate Debian derivatives to their base Debian version match=$(echo "$DISTRO_NAME_L" | grep -E ${DEBIAN_DERIVATIVES}) @@ -1472,6 +1473,10 @@ __debian_derivatives_translation() { _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') _debian_derivative="bunsenlabs" ;; + turnkey) + _major=$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g') + _debian_derivative="bunsenlabs" + ;; esac _debian_version=$(eval echo "\$${_debian_derivative}_${_major}_debian_base" 2>/dev/null)