pull/119/head
midoks 3 years ago
parent a4e4219880
commit f911f7ec1c
  1. 4
      scripts/install/debian.sh
  2. 5
      scripts/install/ubuntu.sh
  3. 8
      scripts/lib.sh

@ -12,6 +12,10 @@ LANG=en_US.UTF-8
# WHITE='\e[1;37m' # 白色
# NC='\e[0m' # 没有颜色
if grep -Eq "Debian" /etc/*-release && [ ! -f /bin/sh ]; then
ln -sf /bin/bash /bin/sh
fi
apt update -y

@ -3,6 +3,11 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
LANG=en_US.UTF-8
if grep -Eq "Ubuntu" /etc/*-release && [ ! -f /bin/sh ]; then
sudo ln -sf /bin/bash /bin/sh
#sudo dpkg-reconfigure dash
fi
apt update -y

@ -222,14 +222,6 @@ echo -e "Install_Curl" >> ${libPath}/lib.pl
}
if grep -Eq "Ubuntu" /etc/*-release && [ ! -f /bin/sh ]; then
sudo ln -sf /bin/bash /bin/sh
#sudo dpkg-reconfigure dash
fi
if grep -Eq "Debian" /etc/*-release && [ ! -f /bin/sh ]; then
ln -sf /bin/bash /bin/sh
fi
_os=`uname`
if [ ${_os} == "Darwin" ]; then

Loading…
Cancel
Save