|
|
@ -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 ln -sf /bin/bash /bin/sh |
|
|
|
#sudo dpkg-reconfigure dash |
|
|
|
#sudo dpkg-reconfigure dash |
|
|
|
fi |
|
|
|
fi |
|
|
@ -231,10 +231,6 @@ if grep -Eq "Debian" /etc/*-release && [ ! -f /bin/sh ]; then |
|
|
|
ln -sf /bin/bash /bin/sh |
|
|
|
ln -sf /bin/bash /bin/sh |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if grep -Eq "FreeBSD" /etc/*-release && [ ! -f /bin/bash ]; then |
|
|
|
|
|
|
|
ln -sf /usr/local/bin/bash /bin/bash |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_os=`uname` |
|
|
|
_os=`uname` |
|
|
|
if [ ${_os} == "Darwin" ]; then |
|
|
|
if [ ${_os} == "Darwin" ]; then |
|
|
|
OSNAME='macos' |
|
|
|
OSNAME='macos' |
|
|
|