mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
install unzip when redhat9
This commit is contained in:
parent
52bc0c480b
commit
b55c68ceea
@ -2,6 +2,7 @@
|
||||
|
||||
1. appstore 升级脚本输出内容过多引起的异常修复
|
||||
2. 安装脚本对于 yq 失败的异常处理
|
||||
3. 对部分操作系统(如 redhat9)安装 unzip 包
|
||||
|
||||
## 0.4.0 release on 2023-06-15
|
||||
|
||||
|
@ -10,7 +10,7 @@ COPY static ./static
|
||||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisords
|
||||
# Install supervisord
|
||||
RUN apt install -y supervisor
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
@ -59,7 +59,7 @@ def AppStoreUpdate():
|
||||
for change in change_log[1:]:
|
||||
if change != '':
|
||||
content.append(change)
|
||||
shell_execute.execute_command_output_all("wget curl https://websoft9.github.io/StackHub/install/update_appstore.sh && bash update_appstore.sh 1>/dev/null 2>&1")
|
||||
shell_execute.execute_command_output_all("wget https://websoft9.github.io/StackHub/install/update_appstore.sh && bash update_appstore.sh 1>/dev/null 2>&1")
|
||||
|
||||
return content
|
||||
else:
|
||||
|
@ -134,7 +134,7 @@ echo "Prepare to install Tools ..."
|
||||
|
||||
if [ "$os_type" == 'CentOS' ] || [ "$os_type" == 'CentOS Stream' ] || [ "$os_type" == 'Fedora' ] || [ "$os_type" == 'OracleLinux' ] || [ "$os_type" == 'Redhat' ];then
|
||||
sudo yum update -y 1>/dev/null 2>&1
|
||||
sudo yum install git curl wget yum-utils jq firewalld bc -y 1>/dev/null 2>&1
|
||||
sudo yum install git curl wget yum-utils jq firewalld bc unzip -y 1>/dev/null 2>&1
|
||||
|
||||
fi
|
||||
|
||||
@ -144,7 +144,7 @@ if [ "$os_type" == 'Ubuntu' ] || [ "$os_type" == 'Debian' ] ;then
|
||||
sleep 5
|
||||
done
|
||||
sudo apt update -y 1>/dev/null 2>&1
|
||||
sudo apt install git curl wget jq firewalld bc -y 1>/dev/null 2>&1
|
||||
sudo apt install git curl wget jq firewalld bc unzip -y 1>/dev/null 2>&1
|
||||
fi
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user