Temp debug
This commit is contained in:
@@ -440,6 +440,7 @@ set_mc_version() {
|
|||||||
# Determine latest version
|
# Determine latest version
|
||||||
# Containerized package manager
|
# Containerized package manager
|
||||||
if create_mc_apt_container &&
|
if create_mc_apt_container &&
|
||||||
|
debug "MC_MVERSION_USER=$MC_MVERSION_USER MC_VERSION_HARDCODE=$MC_VERSION_HARDCODE" &&
|
||||||
MC_VERSION=$(buildah run "$CNT" -- apt-cache policy "mediacenter${MC_MVERSION_USER:-${MC_VERSION_HARDCODE%%.*}}" | awk '/Candidate:/ {sub(/-.*/, "", $2); print $2}' | sort -V | tail -n1) &&
|
MC_VERSION=$(buildah run "$CNT" -- apt-cache policy "mediacenter${MC_MVERSION_USER:-${MC_VERSION_HARDCODE%%.*}}" | awk '/Candidate:/ {sub(/-.*/, "", $2); print $2}' | sort -V | tail -n1) &&
|
||||||
execute buildah rm "$CNT" &&
|
execute buildah rm "$CNT" &&
|
||||||
[[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
[[ $MC_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user