From 4fd280cf852ed0e0c120ceaef268805781f2b612 Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 10 Mar 2026 18:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20check-is-installed=20?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E6=A3=80=E6=9F=A5=E5=9C=A8?= =?UTF-8?q?=E4=B8=BB=E6=9C=BA=E6=98=AF=E5=90=A6=E5=AE=89=E8=A3=85=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extras/check-is-installed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/check-is-installed b/extras/check-is-installed index 34643bfc..394d84b5 100755 --- a/extras/check-is-installed +++ b/extras/check-is-installed @@ -5,7 +5,7 @@ readonly ACE_ENVIRONMENTS=( "deepin23-run:amber-ce-deepin23" "sid-run:amber-ce-sid" ) -dpkg -s '$1' 2>/dev/null | grep -q 'Status: install ok installed' > /dev/null 2>&1 +dpkg -s "$1" 2>/dev/null | grep -q 'Status: install ok installed' > /dev/null 2>&1 RET="$?" if [[ "$RET" != "0" ]] && [[ "$IS_ACE_ENV" == "" ]];then ## 如果未在ACE环境中 @@ -40,4 +40,4 @@ if [[ "$RET" != "0" ]] && [[ "$IS_ACE_ENV" == "" ]];then ## 如果未在ACE环 exit "$RET" fi ## 如果在ACE环境中或者未出错 -exit "$RET" +exit "$RET" \ No newline at end of file