瀏覽代碼

Swap apt-get for apt

bryan 3 天之前
父節點
當前提交
41fa5286cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -429,7 +429,7 @@ get_latest_mc_version() {
 			Components: main
 			Architectures: amd64 armhf arm64
 		EOF
-    apt-get update -o Acquire::AllowInsecureRepositories=true &>/dev/null' &&
+    apt-get update -o Acquire::AllowInsecureRepositories=true' &&
   MC_VERSION=$(buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | 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"