Skip to content

Commit

Permalink
fix: dos2unix
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jul 21, 2023
1 parent 1daaab1 commit e56cf99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ Prepare_system() {
dnf config-manager --set-enabled crb
/usr/bin/crb enable
dnf makecache
dnf install -y curl wget zip unzip tar git jq git-core dox2unix
dnf install -y curl wget zip unzip tar git jq git-core dos2unix
elif [ "${OS}" == "debian" ]; then
if [[ ${ipLocation} =~ "中国" ]]; then
sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list
fi
apt update
apt install -y curl wget zip unzip tar git jq git dox2unix
apt install -y curl wget zip unzip tar git jq git dos2unix
else
echo -e $HR
echo "错误:该系统不支持安装耗子面板,请更换Debian12/RHEL9安装。"
Expand Down

0 comments on commit e56cf99

Please sign in to comment.