Update dependency

This commit is contained in:
QIDI TECH
2024-11-28 14:53:09 +08:00
parent 506ff7ad8c
commit db50a0814e
17 changed files with 250 additions and 26 deletions

View File

@@ -35,6 +35,9 @@ REQUIRED_DEV_PACKAGES=(
wget
libcurl-devel
libquadmath-devel
nasm
yasm
x264-devel
)
if [[ -n "$UPDATE_LIB" ]]
@@ -52,6 +55,8 @@ then
done
if [ -n "${NEEDED_PKGS}" ]; then
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf -y update
sudo dnf install -y ${NEEDED_PKGS}
fi
echo -e "done\n"