mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove source_set function
This commit is contained in:
parent
bfb2dcb590
commit
0b4f521575
1 changed files with 0 additions and 16 deletions
|
@ -2504,20 +2504,6 @@ _mkfs() {
|
|||
unset _btrfscompress
|
||||
}
|
||||
|
||||
# source_set()
|
||||
# check if installation source is set, if not run select_source!
|
||||
source_set(){
|
||||
while ! [[ "${S_SRC}" = "1" ]]; do
|
||||
if ! [[ "${S_SRC}" = "1" ]]; then
|
||||
DIALOG --msgbox "Error:\nYou have to select Source first." 0 0
|
||||
select_source || break
|
||||
fi
|
||||
done
|
||||
if [[ "${S_SRC}" = "0" ]]; then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
getsource() {
|
||||
S_SRC=0
|
||||
if [[ "${MODE}" = "network" ]]; then
|
||||
|
@ -2663,7 +2649,6 @@ run_pacman(){
|
|||
# performs package installation to the target system
|
||||
#
|
||||
install_packages() {
|
||||
source_set || return 1
|
||||
destdir_mounts || return 1
|
||||
if [[ "${S_MKFS}" != "1" && "${S_MKFSAUTO}" != "1" ]]; then
|
||||
getdest
|
||||
|
@ -4832,7 +4817,6 @@ install_bootloader() {
|
|||
if [[ "${NAME_SCHEME_PARAMETER_RUN}" == "" ]]; then
|
||||
set_device_name_scheme || return 1
|
||||
fi
|
||||
source_set || return 1
|
||||
pacman_conf
|
||||
prepare_pacman
|
||||
CANCEL=""
|
||||
|
|
Loading…
Reference in a new issue