Fix quoted repo names in containerized pm
This commit is contained in:
@@ -2010,6 +2010,7 @@ create_mc_apt_container() {
|
|||||||
debug "${FUNCNAME[0]}()" "$@"
|
debug "${FUNCNAME[0]}()" "$@"
|
||||||
declare -g CNT
|
declare -g CNT
|
||||||
local -a cmds=("$@")
|
local -a cmds=("$@")
|
||||||
|
# shellcheck disable=SC2086
|
||||||
{ command -v buildah &>/dev/null || install_package buildah &>/dev/null; } &&
|
{ command -v buildah &>/dev/null || install_package buildah &>/dev/null; } &&
|
||||||
CNT=$(sudo buildah from --quiet alpine:edge) &&
|
CNT=$(sudo buildah from --quiet alpine:edge) &&
|
||||||
sudo buildah run "$CNT" -- sh -c '
|
sudo buildah run "$CNT" -- sh -c '
|
||||||
@@ -2019,9 +2020,9 @@ create_mc_apt_container() {
|
|||||||
Types: deb
|
Types: deb
|
||||||
URIs: https://dist.jriver.com/latest/mediacenter/
|
URIs: https://dist.jriver.com/latest/mediacenter/
|
||||||
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
|
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
|
||||||
Suites: '"$MC_REPO"'
|
Suites: '$MC_REPO'
|
||||||
Components: main
|
Components: main
|
||||||
Architectures: '"$MC_ARCH"'
|
Architectures: '$MC_ARCH'
|
||||||
EOF
|
EOF
|
||||||
apt-get update &>/dev/null' &&
|
apt-get update &>/dev/null' &&
|
||||||
# If user passes command strings run them in the container
|
# If user passes command strings run them in the container
|
||||||
|
|||||||
Reference in New Issue
Block a user