Standardize repo file

This commit is contained in:
2025-12-14 18:22:19 -05:00
parent b62ba38c49
commit e360bacd23

View File

@@ -21,7 +21,7 @@
# shellcheck disable=SC2329 # shellcheck disable=SC2329
shopt -s extglob shopt -s extglob
declare -g SCRIPT_VERSION="1.35.5" declare -g SCRIPT_VERSION="1.35.6-dev"
declare -g MC_VERSION_HARDCODE="35.0.24" # do find all replace declare -g MC_VERSION_HARDCODE="35.0.24" # do find all replace
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
declare -g BOARD_ID="92.0" # MC35 board ID for legacy latest version detection declare -g BOARD_ID="92.0" # MC35 board ID for legacy latest version detection
@@ -631,9 +631,10 @@ install_mc_repo() {
repo_file="/etc/yum.repos.d/jriver.repo" repo_file="/etc/yum.repos.d/jriver.repo"
read -r -d '' repo_text <<-EOF read -r -d '' repo_text <<-EOF
[jriver] [jriver]
name=JRiver Media Center by BryanC baseurl = https://repos.bryanroessler.com/jriver
baseurl=https://repos.bryanroessler.com/jriver enabled = 1
gpgcheck=0 gpgcheck = 0
name = JRiver Media Center by BryanC
EOF EOF
;; ;;
debian|ubuntu) debian|ubuntu)