From de589b46898ad2805d65c428d42f2a5b694ddf2d Mon Sep 17 00:00:00 2001 From: murat Date: Fri, 7 Jul 2023 12:45:08 +0300 Subject: [PATCH] Remove busybox for conflict --- install_ant-media-server.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install_ant-media-server.sh b/install_ant-media-server.sh index 3b443342..7061f5b4 100755 --- a/install_ant-media-server.sh +++ b/install_ant-media-server.sh @@ -287,8 +287,9 @@ REQUIRED_VERSION="2.6" if [ "$ID" == "ubuntu" ]; then $SUDO apt-get update -y $SUDO apt-get install unzip zip libva-drm2 libva-x11-2 libvdpau-dev -y - VERSION=$(unzip -p "$ANT_MEDIA_SERVER_ZIP_FILE" ant-media-server/ant-media-server.jar | busybox unzip -p - | grep -a "Implementation-Version"|cut -d' ' -f2 | tr -d '\r') - + $SUDO unzip -o $ANT_MEDIA_SERVER_ZIP_FILE "ant-media-server/ant-media-server.jar" -d /tmp/ + VERSION=$(unzip -p /tmp/ant-media-server/ant-media-server.jar | grep -a "Implementation-Version"|cut -d' ' -f2 | tr -d '\r') + # If the version is lower than 2.6 and the architecture is x86_64, install the libcrystalhd-dev package. # Additionally, arm64 architecture does not have libcrystalhd-dev and the following check will fix the installation problem in ARM. # After 2.6, there is no dependency to libcrystalhd-dev