shorten check

This commit is contained in:
Tobias Powalowski 2022-09-22 21:53:43 +02:00
parent 08cc00b14a
commit 4b249bd6f8

View file

@ -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