mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't abort on cachedir on different architecture
This commit is contained in:
parent
812e5f9450
commit
9e4ac63f46
2 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ _REPODIR="$(mktemp -d "${1}"/repository.XXX)"
|
|||
_CACHEDIR="${_REPODIR}/var/cache/pacman/pkg"
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_root_check
|
||||
_cachedir_check
|
||||
echo "Starting repository creation ..."
|
||||
if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||
_cachedir_check
|
||||
_create_pacman_conf "${_REPODIR}"
|
||||
_prepare_pacman "${_REPODIR}" || exit 1
|
||||
_download_packages "${_REPODIR}" || exit 1
|
||||
|
|
|
@ -9,9 +9,9 @@ _REPODIR="$(mktemp -d "${1}"/repository.XXX)"
|
|||
_CACHEDIR="${_REPODIR}/var/cache/pacman/pkg"
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_root_check
|
||||
_cachedir_check
|
||||
echo "Starting repository creation ..."
|
||||
if [[ "${_RUNNING_ARCH}" == "riscv64" ]]; then
|
||||
_cachedir_check
|
||||
_create_pacman_conf "${_REPODIR}"
|
||||
_prepare_pacman "${_REPODIR}" || exit 1
|
||||
_download_packages "${_REPODIR}" || exit 1
|
||||
|
|
Loading…
Reference in a new issue