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