mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 11:38:00 +08:00
Update build_backend.sh
This commit is contained in:
parent
518fe3c8c1
commit
9e4ba8770e
1 changed files with 4 additions and 0 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Reference in a new issue