From bad7e5780abcc27c0dbe71e6add70165e98705ff Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 7 Aug 2025 12:41:40 +0300 Subject: [PATCH] t-flex-*: fixed install grdcontrol --- database/t-flex-cad17.whdb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/t-flex-cad17.whdb b/database/t-flex-cad17.whdb index e6ffba7..c49a4cc 100644 --- a/database/t-flex-cad17.whdb +++ b/database/t-flex-cad17.whdb @@ -28,8 +28,8 @@ prepair_wine if [[ -d "$WINEPREFIX" ]] \ && grep -q "t-flex-cad" "$WINEPREFIX/winetricks.log" \ -&& systemctl list-units --type service --state running | grep aksusbd \ -&& systemctl list-units --type service --state running | grep hasplmd \ +&& systemctl list-units --type service --state running | grep -q aksusbd \ +&& systemctl list-units --type service --state running | grep -q hasplmd \ && rpm -q grdcontrol | grep -q "$GRDCONTROL_VER" then print_info "Префикс $PREFIX_NAME готов к установке ПО." @@ -50,7 +50,7 @@ else if rpm -q grdcontrol | grep -q "$GRDCONTROL_VER" then print_info "grdcontrol-$GRDCONTROL_VER уже установлен в системе." - else su_run rpm -iv "$AUTOINSTALL_DIR_LIN/Guardant_Linux/grdcontrol.x86_64.rpm" + else su_run "rpm -iv \"$AUTOINSTALL_DIR_LIN/Guardant_Linux/grdcontrol.x86_64.rpm\"" fi if [[ "$BASE_PFX" == "none" ]] ; then