FIX:update fedora build shell

jira: nojira
Change-Id: I9990f960b68c36c510612fac91a65605197f1000
This commit is contained in:
Mack 2024-10-17 19:58:47 +08:00 committed by Lane.Wei
parent 8b60428ecd
commit 8f848921fb
1 changed files with 5 additions and 0 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"