From a4e4219880c54a080ce76a6926ebae53bb6020c5 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Jul 2022 23:10:09 +0800 Subject: [PATCH] Update lib.sh --- scripts/lib.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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'