mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
shorten check
This commit is contained in:
parent
08cc00b14a
commit
4b249bd6f8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue