From 2fec745d69bb220e9533e88635d745329d86d9f5 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 17 Jul 2023 09:26:04 +0200 Subject: [PATCH] fix pacman config --- usr/lib/archboot/installer/pacman.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/usr/lib/archboot/installer/pacman.sh b/usr/lib/archboot/installer/pacman.sh index a5d84af8a..3f8aa713b 100644 --- a/usr/lib/archboot/installer/pacman.sh +++ b/usr/lib/archboot/installer/pacman.sh @@ -2,14 +2,17 @@ # SPDX-License-Identifier: GPL-2.0-only # created by Tobias Powalowski _getsource() { - _PACMAN_CONF="" - if [[ -e "${_LOCAL_DB}" ]]; then - _local_pacman_conf + if [[ -z ${_S_SRC} ]]; then + _PACMAN_CONF="" + if [[ -e "${_LOCAL_DB}" ]]; then + _local_pacman_conf + fi fi _S_SRC=1 } _run_pacman(){ + _getsource _chroot_mount _dialog --title " Pacman " --infobox "Installing package(s) to ${_DESTDIR}:\n${_PACKAGES}...\n\nCheck ${_VC} console (ALT-F${_VC_NUM}) for progress..." 8 70 echo "Installing Packages..." >/tmp/pacman.log