Browse Source

Use rootful container for testing

bryan 3 days ago
parent
commit
c8ab117feb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      installJRMC

+ 1 - 0
installJRMC

@@ -433,6 +433,7 @@ get_latest_mc_version() {
 		EOF
 		EOF
     apt-get update --allow-insecure-repositories' &&
     apt-get update --allow-insecure-repositories' &&
   MC_VERSION=$(sudo buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &&
   MC_VERSION=$(sudo buildah run "$cnt" -- apt-cache policy "mediacenter$MC_MVERSION" | grep Candidate | awk '{print $2}' | sort -V | tail -n1) &&
+  echo "MC_VERSION: $MC_VERSION" &&
   [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
   [[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
     mc_version_source="containerized package manager"
     mc_version_source="containerized package manager"
     execute sudo buildah rm "$cnt"
     execute sudo buildah rm "$cnt"