From 896b766f38faa26c6117efa959e066428df502a0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 27 Aug 2024 22:49:38 +0200 Subject: [PATCH] fixes --- spcd/bootstrap.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 682714c..783b153 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1156,7 +1156,7 @@ spcd_step__install_packages() { case "${SPCD_OS_VERSION}" in "9") set -- \ - "-testing" + "-testing" \ "" ;; "8") @@ -1175,7 +1175,9 @@ spcd_step__install_packages() { "|^#baseurl|baseurl|" done spcd_spr__file="/etc/yum.repos.d/epel-cisco-openh264.repo" - "|^enabled=1|#enabled=0|" + if [ -f "${spcd_spr__file}" ]; then + spcd_os_sed "${spcd_spr__file}" \ + "|^enabled=1|#enabled=0|" ;; *) ;; esac