fix pacman config

This commit is contained in:
Tobias Powalowski 2023-07-17 09:26:04 +02:00
parent 06126a3475
commit 2fec745d69

View file

@ -2,14 +2,17 @@
# SPDX-License-Identifier: GPL-2.0-only
# created by Tobias Powalowski <tpowa@archlinux.org>
_getsource() {
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