소스 검색

Use rootful container for testing

bryan 3 일 전
부모
커밋
428c83727e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -420,7 +420,7 @@ get_latest_mc_version() {
   # Use generalized containerized package manager to determine latest MC version
   if install_package --silent buildah && 
   cnt=$(sudo buildah from --quiet alpine:edge 2>/dev/null) &&
-  sudo buildah run "$cnt" -- sh -c '
+  execute sudo buildah run "$cnt" -- sh -c '
 		apk add --no-cache apt curl gnupg &>/dev/null
 		curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg
 		cat <<-EOF > /etc/apt/sources.list.d/jriver.sources