1.5.2 release

This commit is contained in:
2025-04-22 16:16:47 -04:00
parent 58674364c6
commit 7bad2bf96c

View File

@@ -18,7 +18,7 @@
# * Be careful with tabs in heredocs # * Be careful with tabs in heredocs
shopt -s extglob shopt -s extglob
declare -g SCRIPT_VERSION="1.5.2-dev" declare -g SCRIPT_VERSION="1.5.2"
declare -g MC_REPO="bullseye" # should match the MC_VERSION declare -g MC_REPO="bullseye" # should match the MC_VERSION
# declare -g MC_REPO="bookworm" # should match the MC_VERSION # declare -g MC_REPO="bookworm" # should match the MC_VERSION
declare -g MC_VERSION="33.0.72" # do find all replace declare -g MC_VERSION="33.0.72" # do find all replace
@@ -647,6 +647,7 @@ install_mc_repo() {
for f in "${old_repo_files[@]}"; do for f in "${old_repo_files[@]}"; do
[[ -f $f ]] && execute sudo rm -f "$f" [[ -f $f ]] && execute sudo rm -f "$f"
done done
read -r -d '' repo_text <<-EOF read -r -d '' repo_text <<-EOF
Types: deb Types: deb
URIs: http://dist.jriver.com/$channel/mediacenter/ URIs: http://dist.jriver.com/$channel/mediacenter/
@@ -663,7 +664,7 @@ install_mc_repo() {
fi fi
repo_text="deb [signed-by=$keyfile arch=amd64,i386,armhf,arm64] http://dist.jriver.com/$channel/mediacenter/ $MC_REPO main" repo_text="deb [signed-by=$keyfile arch=amd64,i386,armhf,arm64] http://dist.jriver.com/$channel/mediacenter/ $MC_REPO main"
fi fi
echo "Installing JRiver Media Center RPM key" echo "Installing JRiver Media Center GPG key"
download "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" "-" | download "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" "-" |
gpg --dearmor | sudo tee "$keyfile" &>/dev/null gpg --dearmor | sudo tee "$keyfile" &>/dev/null
;; ;;
@@ -943,7 +944,7 @@ install_mc_deb() {
# Remove libwebkit2gtk and their fantastic package versioning strategy # Remove libwebkit2gtk and their fantastic package versioning strategy
sed -i 's/,\s*libwebkit2gtk[^,]*,\?|libwebkit2gtk[^,]*,\?//g' "control" sed -i 's/,\s*libwebkit2gtk[^,]*,\?|libwebkit2gtk[^,]*,\?//g' "control"
# TODO workaround for ZorinOS # TODO workaround for legacy ZorinOS
[[ $ID == "ubuntu" && ${VERSION_ID%.*} -le 16 ]] \ [[ $ID == "ubuntu" && ${VERSION_ID%.*} -le 16 ]] \
&& grep -q zorin /etc/os-release \ && grep -q zorin /etc/os-release \
&& sed -i 's/libva2/libva1/g' "control" && sed -i 's/libva2/libva1/g' "control"