diff --git a/scripts/install.sh b/scripts/install.sh index 8fa25b5c1..5acba54d1 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -18,6 +18,10 @@ if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then #sudo dpkg-reconfigure dash fi +if grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then + sudo ln -sf /bin/bash /bin/sh +fi + if [ ${_os} == "Darwin" ]; then OSNAME='macos' diff --git a/scripts/update.sh b/scripts/update.sh index b2523de88..ff16abec1 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -14,6 +14,10 @@ if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then #sudo dpkg-reconfigure dash fi +if grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then + sudo ln -sf /bin/bash /bin/sh +fi + if [ "${_os}" == "Darwin" ]; then OSNAME='macos' elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then