don't block soruce on offline mode

This commit is contained in:
Tobias Powalowski 2023-06-28 06:42:38 +02:00
parent ed455affac
commit 660da3c0a0
2 changed files with 0 additions and 3 deletions

View file

@ -307,8 +307,6 @@ _mainmenu() {
"2")
if [[ "${_DESTDIR}" == "/" ]]; then
_abort_running_system
elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_abort_offline_mode
else
_select_source || return 1
_update_environment

View file

@ -6,7 +6,6 @@ _getsource() {
if [[ -e "${_LOCAL_DB}" ]]; then
_NEXTITEM="4"
_local_pacman_conf
_dialog --msgbox "Setup is running in <Local mode>.\nOnly Local package database is used for package installation.\n\nIf you want to switch to <Online mode>, you have to delete /var/cache/pacman/pkg/archboot.db and rerun this step." 10 70
else
_select_mirror || return 1
fi