调整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
+3
View File
@@ -15,6 +15,9 @@ clean:
rm VM-source/VirtualMachine -rfv
rm -rfv VM-source/.qmake.stash
#package-rpm:
package-pkg:
#sudo debtap -u
debtap -Q spark-deepin-wine-runner.deb
+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