Browse Source

Modernize sources list for containerized package manager

bryan 4 ngày trước cách đây
mục cha
commit
365b8f6079
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

@@ -438,12 +438,12 @@ get_latest_mc_version() {
   buildah run "$cnt" -- sh -c \
     "cat <<-EOF > /etc/apt/sources.list.d/dist.jriver.com.sources
 			Types: deb
-			URIs: https://dist.jriver.com/$channel/mediacenter/
+			URIs: https://dist.jriver.com/latest/mediacenter/
 			Suites: $1
 			Components: main
 		EOF" &&
   buildah run "$cnt" -- sh -c \
-    "apt update --allow-insecure-repositories &>/dev/null" &>/dev/null &&
+    "apt update --allow-insecure-repositories" &&
   MC_VERSION=$(buildah run "$cnt" -- apt-cache policy mediacenter?? | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &>/dev/null &&
   [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
     mc_version_source="containerized package manager"