mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix S_SRC to allow change of mirror
This commit is contained in:
parent
788e0e8219
commit
7fa6812877
2 changed files with 2 additions and 3 deletions
|
@ -136,6 +136,7 @@ _set_vconsole() {
|
|||
_select_source() {
|
||||
_NEXTITEM="2"
|
||||
_set_title
|
||||
_S_SRC=""
|
||||
if [[ -e "${_LOCAL_DB}" ]]; then
|
||||
_getsource || return 1
|
||||
else
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_getsource() {
|
||||
_S_SRC=""
|
||||
_PACMAN_CONF=""
|
||||
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
|
||||
_S_SRC=1
|
||||
else
|
||||
_select_mirror || return 1
|
||||
_S_SRC=1
|
||||
fi
|
||||
_S_SRC=1
|
||||
}
|
||||
|
||||
_select_mirror() {
|
||||
|
|
Loading…
Reference in a new issue