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