mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
rename parameters
This commit is contained in:
parent
1c10847a32
commit
b55adedc48
4 changed files with 6 additions and 6 deletions
|
@ -320,5 +320,5 @@ autoprepare() {
|
|||
done
|
||||
DIALOG --infobox "Auto-Prepare was successful. Continuing in 3 seconds ..." 3 70
|
||||
sleep 3
|
||||
S_MKFSAUTO=1
|
||||
_S_MKFSAUTO=1
|
||||
}
|
||||
|
|
|
@ -60,8 +60,8 @@ geteditor() {
|
|||
"1" "nano (easier)" \
|
||||
"2" "neovim" 2>${_ANSWER} || return 1
|
||||
case $(cat ${_ANSWER}) in
|
||||
"1") EDITOR="nano" ;;
|
||||
"2") EDITOR="nvim" ;;
|
||||
"1") _EDITOR="nano" ;;
|
||||
"2") _EDITOR="nvim" ;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
|||
_VMLINUZ_EFISTUB="Image"
|
||||
fi
|
||||
# abstract the common pacman args
|
||||
PACMAN="pacman --root ${_DESTDIR} ${PACMAN_CONF} --cachedir=${_DESTDIR}/var/cache/pacman/pkg --noconfirm --noprogressbar"
|
||||
PACMAN="pacman --root ${_DESTDIR} ${_PACMAN_CONF} --cachedir=${_DESTDIR}/var/cache/pacman/pkg --noconfirm --noprogressbar"
|
||||
|
||||
linux_firmware() {
|
||||
_PACKAGES="${_PACKAGES//\ linux-firmware\ / }"
|
||||
|
@ -77,7 +77,7 @@ local_pacman_conf() {
|
|||
echo "LocalFileSigLevel = Optional" >> "${_PACMAN_CONF}"
|
||||
echo "[archboot]" >> "${_PACMAN_CONF}"
|
||||
echo "Server = file:///var/cache/pacman/pkg" >> "${_PACMAN_CONF}"
|
||||
PACMAN_CONF="--config ${_PACMAN_CONF}"
|
||||
_PACMAN_CONF="--config ${_PACMAN_CONF}"
|
||||
}
|
||||
|
||||
auto_packages() {
|
||||
|
|
|
@ -250,7 +250,7 @@ mountpoints() {
|
|||
DIALOG --infobox "Partitions were successfully mounted.\nContinuing in 3 seconds ..." 0 0
|
||||
sleep 3
|
||||
_NEXTITEM="5"
|
||||
S_MKFS=1
|
||||
_S_MKFS=1
|
||||
}
|
||||
|
||||
# _mkfs()
|
||||
|
|
Loading…
Reference in a new issue