fix db sync in real offline mode

This commit is contained in:
Tobias Powalowski 2023-06-27 06:43:12 +02:00
parent f2645b6f6e
commit 5343e33044

View file

@ -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