mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
Quickfixes
This commit is contained in:
parent
3e38f5523a
commit
847a336923
@ -484,10 +484,6 @@ bios_bootloader() {
|
|||||||
|
|
||||||
install_bootloader() {
|
install_bootloader() {
|
||||||
check_mount
|
check_mount
|
||||||
|
|
||||||
# Set the default PATH variable
|
|
||||||
arch_chroot "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl" 2>$ERR
|
|
||||||
check_for_error "set PATH" "$?"
|
|
||||||
|
|
||||||
if [[ $SYSTEM == "BIOS" ]]; then
|
if [[ $SYSTEM == "BIOS" ]]; then
|
||||||
bios_bootloader
|
bios_bootloader
|
||||||
|
@ -157,10 +157,6 @@ install_graphics_menu() {
|
|||||||
config_base_menu() {
|
config_base_menu() {
|
||||||
local PARENT="$FUNCNAME"
|
local PARENT="$FUNCNAME"
|
||||||
|
|
||||||
# Set the default PATH variable
|
|
||||||
arch_chroot "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl" 2>$ERR
|
|
||||||
check_for_error check_for_error "$FUNCNAME" "$?"
|
|
||||||
|
|
||||||
submenu 8
|
submenu 8
|
||||||
DIALOG "$_ConfBseBody" --default-item ${HIGHLIGHT_SUB} --menu " $_ConfBseMenuTitle " \
|
DIALOG "$_ConfBseBody" --default-item ${HIGHLIGHT_SUB} --menu " $_ConfBseMenuTitle " \
|
||||||
0 0 8 \
|
0 0 8 \
|
||||||
|
@ -356,6 +356,5 @@ inst_needed() {
|
|||||||
|
|
||||||
# install a pkg in the chroot if not installed
|
# install a pkg in the chroot if not installed
|
||||||
check_pkg() {
|
check_pkg() {
|
||||||
arch_chroot "[[ ! $(pacman -Q $1 2>/dev/null) ]] && pacman -Sy --noconfirm $1" 2>$ERR
|
[[ -e "/mnt/usr/bin/$1" ]] || echo "$1 is not installed." && echo && echo && echo "Press enter to continue" && read
|
||||||
check_for_error "install missing pkg $1 to target." "$?"
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user