Skip to content

Commit

Permalink
Fix missing dependencies for ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-antonyuk committed Dec 9, 2024
1 parent 68120f1 commit c783ce8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions install/OneClickInstall/install-RedHat/install-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ fi

{ ${package_manager} check-update ${product}; PRODUCT_CHECK_UPDATE=$?; } || true
if [ "$PRODUCT_INSTALLED" = "false" ]; then
${package_manager} install -y ${product} --best --allowerasing
${package_manager} install -y ${product} --best --allowerasing $TESTING_REPO
${product}-configuration \
-mysqlh ${MYSQL_SERVER_HOST} \
-mysqld ${MYSQL_SERVER_DB_NAME} \
Expand All @@ -147,7 +147,7 @@ if [ "$PRODUCT_INSTALLED" = "false" ]; then
elif [[ "${PRODUCT_CHECK_UPDATE}" -eq "${UPDATE_AVAILABLE_CODE}" || "${RECONFIGURE_PRODUCT}" = "true" ]]; then
ENVIRONMENT=$(grep -oP 'ENVIRONMENT=\K.*' /etc/${package_sysname}/${product}/systemd.env || grep -oP 'ENVIRONMENT=\K.*' /usr/lib/systemd/system/${product}-api.service)
CONNECTION_STRING=$(json -f /etc/${package_sysname}/${product}/appsettings.$ENVIRONMENT.json ConnectionStrings.default.connectionString)
${package_manager} -y update ${product} --best --allowerasing
${package_manager} -y update ${product} --best --allowerasing $TESTING_REPO
${product}-configuration \
-mysqlh $(grep -oP 'Server=\K[^;]*' <<< "$CONNECTION_STRING") \
-mysqld $(grep -oP 'Database=\K[^;]*' <<< "$CONNECTION_STRING") \
Expand Down
2 changes: 1 addition & 1 deletion install/OneClickInstall/install-RedHat/install-preq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ${package_manager} -y install $([ $DIST != "fedora" ] && echo "epel-release") \
SDL2 \
expect \
java-${JAVA_VERSION}-openjdk-headless \
--enablerepo=opensearch-2.x $TESTING_REPO
--enablerepo=opensearch-2.x

# Set Java ${JAVA_VERSION} as the default version
JAVA_PATH=$(find /usr/lib/jvm/ -name "java" -path "*java-${JAVA_VERSION}*" | head -1)
Expand Down

0 comments on commit c783ce8

Please sign in to comment.