mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix db sync in real offline mode
This commit is contained in:
parent
f2645b6f6e
commit
5343e33044
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ _prepare_pacman() {
|
||||||
done
|
done
|
||||||
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl stop pacman-init.service
|
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl stop pacman-init.service
|
||||||
_dialog --infobox "Refreshing package database..." 3 40
|
_dialog --infobox "Refreshing package database..." 3 40
|
||||||
if ! ${_PACMAN} -Sy &>"${_LOG}"; then
|
if ! ${_PACMAN} -Sy ${_PACMAN_CONF} &>"${_LOG}"; then
|
||||||
_dialog --msgbox "Pacman preparation failed! Check ${_LOG} for errors." 6 60
|
_dialog --msgbox "Pacman preparation failed! Check ${_LOG} for errors." 6 60
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue