From e92d1f44680ec5ffd4d2e0f00beb06cee160b2c7 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Sat, 11 May 2024 10:50:40 +0200 Subject: [PATCH] build(pkg): fix pkg-tests.sh for ubuntu 24.04 --- scripts/pkg-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pkg-tests.sh b/scripts/pkg-tests.sh index 02d55c986..a88020dd5 100755 --- a/scripts/pkg-tests.sh +++ b/scripts/pkg-tests.sh @@ -79,9 +79,9 @@ emqx_prepare(){ if [ ! -d "${PAHO_MQTT_TESTING_PATH}" ]; then git clone -b develop-4.0 https://github.com/emqx/paho.mqtt.testing.git "${PAHO_MQTT_TESTING_PATH}" fi - # Debian 12 complains if we don't use venv + # Debian 12 and Ubuntu 24.04 complain if we don't use venv case "${SYSTEM:-}" in - debian12) + debian12|ubuntu24.04) apt-get update -y && apt-get install -y virtualenv virtualenv venv # https://www.shellcheck.net/wiki/SC1091