From 9cff5358fe959833f58ef82d01e0b4d18a712b3d Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 31 Jan 2024 22:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4postinst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 +++ deb/DEBIAN/postinst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9cea7b..9d085fb 100755 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/deb/DEBIAN/postinst b/deb/DEBIAN/postinst index 072343e..6210532 100755 --- a/deb/DEBIAN/postinst +++ b/deb/DEBIAN/postinst @@ -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