mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix check for aarch64 running
This commit is contained in:
parent
594bc89034
commit
d34a4341c4
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ _REPODIR="$(mktemp -d "${1}"/repository.XXX)"
|
|||
echo "Starting repository creation ..."
|
||||
if echo "${_BASENAME}" | grep -qw "${_RUNNING_ARCH}"; then
|
||||
# running system = creating system
|
||||
[[ "${_RUNNING_ARCH}" == "x86_64" ]] && _x86_64_pacman_use_default || exit 1
|
||||
[[ "${_RUNNING_ARCH}" == "x86_64" ]] && (_x86_64_pacman_use_default || exit 1)
|
||||
_cachedir_check
|
||||
[[ "${_RUNNING_ARCH}" == "x86_64" ]] || _create_pacman_conf "${_REPODIR}"
|
||||
_prepare_pacman "${_REPODIR}" || exit 1
|
||||
|
|
Loading…
Reference in a new issue