Update lib.sh

pull/119/head
midoks 3 years ago
parent 2738358042
commit a4e4219880
  1. 6
      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'

Loading…
Cancel
Save