From 937ed5e1f129403d520f6812acf7a32035319eed Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 10 Sep 2024 02:12:18 +0200 Subject: [PATCH] ffmpeg/crb --- spcd/bootstrap.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 067b0fd..17ffdce 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -780,7 +780,10 @@ spcd_f_pkg() { "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") case "${SPCD_OS_VERSION}" in "8") ;; - *) spcd_f_pm_pkg_install "ffmpeg-free" ;; + *) + dnf config-manager --enable "crb" + spcd_f_pm_pkg_install "ffmpeg-free" + ;; esac ;; "${SPCD_OS_FEDORA}") spcd_f_pm_pkg_install "ffmpeg-free" ;; @@ -1266,11 +1269,7 @@ spcd_f_pm_pkg_install() { else case "${SPCD_PM}" in "${SPCD_PM_APT}") spcd_f_pm_pkg_install "apt-utils" ;; - "${SPCD_PM_DNF}") - spcd_f_pm_pkg_install "dnf-plugins-core" - dnf config-manager --enable "crb" - spcd_f_pm_pkg_update - ;; + "${SPCD_PM_DNF}") spcd_f_pm_pkg_install "dnf-plugins-core" ;; *) ;; esac fi