From c8e856058400f3a603ac7b3d5a6a23d659a32093 Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 1 Feb 2022 15:35:03 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E5=AE=89=E8=A3=85=E4=BA=86ds?= =?UTF-8?q?tore=E4=B8=8D=E5=86=8D=E7=9E=8Ejb=E5=88=B7=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=84=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/spark-store.postinst | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/debian/spark-store.postinst b/debian/spark-store.postinst index 5383e1e..c666e41 100755 --- a/debian/spark-store.postinst +++ b/debian/spark-store.postinst @@ -29,16 +29,12 @@ case "$1" in triggered) # Trigger for UOS debs installation - echo '-----------星火应用商店现已集成 UOS 包补丁工具--------------' - if [ -x "/usr/bin/deepin-app-store-tool" ] ; then - echo '----------检测到已安装深度应用商店,不运行补丁---------------' - exit 0 - fi + if [ -f "/usr/bin/deepin-app-store-tool" ]; then + exit 0 + fi + echo '--------检测到Uniontech标准软件包,运行补丁以修正安装--------' + /usr/local/bin/spark-dstore-patch + echo '-----------spark-dstore-patch补丁工具已运行完毕-----------' - if [ -x "/usr/local/bin/spark-dstore-patch" ] ; then - echo '-------检测到 Uniontech 标准软件包,运行补丁以修正安装-------' - /usr/local/bin/spark-dstore-patch - echo '---------- spark-dstore-patch 补丁工具已运行完毕----------' - fi ;; esac