调整postinst

This commit is contained in:
2024-01-31 22:20:43 +08:00
parent c8786b59bf
commit 9cff5358fe
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ if [ -d /opt/apps/deepin-wine-runner/dxvk ]; then
fi
echo 移除完成
# 如果为非 X86 PC,可以删除掉一些无用组件(主要是用不了)
if [ `arch` != "x86_64" ]; then
if [[ `arch` != "x86_64" ]]; then
echo 非X86架构,删除对非X86架构无用的组件
# 删除虚拟机功能
#rm -rf /opt/apps/deepin-wine-runner/StartVM.sh