diff --git a/scripts/lib.sh b/scripts/lib.sh index d3fa6f67d..5763c5b7b 100755 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -222,7 +222,7 @@ echo -e "Install_Curl" >> ${libPath}/lib.pl } -if grep -Eq "Ubuntu" /etc/*-release && [ ! -f /bin/sh ];; then +if grep -Eq "Ubuntu" /etc/*-release && [ ! -f /bin/sh ]; then sudo ln -sf /bin/bash /bin/sh #sudo dpkg-reconfigure dash fi @@ -231,10 +231,6 @@ if grep -Eq "Debian" /etc/*-release && [ ! -f /bin/sh ]; then ln -sf /bin/bash /bin/sh fi -if grep -Eq "FreeBSD" /etc/*-release && [ ! -f /bin/bash ]; then - ln -sf /usr/local/bin/bash /bin/bash -fi - _os=`uname` if [ ${_os} == "Darwin" ]; then OSNAME='macos'