diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index c25e240d6..ea9d387a1 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -206,7 +206,7 @@ _other_install_base_packages() { _other_install_archboot() { # riscv64 need does not support local image at the moment - [[ "$(echo $(systemd-nspawn -q -D "${1}" uname -m) | sed -e 's#\r##g')" == "riscv64" ]] && _GRAPHICAL_PACKAGES="" + [[ "$(systemd-nspawn -q -D "${1}" uname -m | sed -e 's#\r##g')" == "riscv64" ]] && _GRAPHICAL_PACKAGES="" [[ "${_CLEANUP_CACHE}" == "1" ]] && _GRAPHICAL_PACKAGES="" [[ -d "${1}"/blankdb ]] || mkdir "${1}"/blankdb if [[ -e "${1}/$(basename "${_PACMAN_CONF}")" ]]; then