mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix pacman config
This commit is contained in:
parent
06126a3475
commit
2fec745d69
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue