Update build_backend.sh

This commit is contained in:
spiritLHLS 2023-04-12 08:51:05 +08:00 committed by GitHub
parent 518fe3c8c1
commit 9e4ba8770e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,10 @@ else
_green "资源池 $POOL_ID 已创建!" _green "资源池 $POOL_ID 已创建!"
fi fi
# 移除订阅弹窗
cp -rf /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
# 检测AppArmor模块 # 检测AppArmor模块
if ! dpkg -s apparmor > /dev/null 2>&1; then if ! dpkg -s apparmor > /dev/null 2>&1; then
_green "正在安装 AppArmor..." _green "正在安装 AppArmor..."