Fixed wrong script name in chroot call

This commit is contained in:
oddlama 2021-05-30 03:10:43 +02:00
parent 45636bb82d
commit ad7709d9dd
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ function main_install() {
[[ $IS_EFI == "true" ]] \ [[ $IS_EFI == "true" ]] \
&& mount_efivars && mount_efivars
gentoo_chroot "$ROOT_MOUNTPOINT" "$GENTOO_INSTALL_REPO_BIND/scripts/main.sh" __install_gentoo_in_chroot gentoo_chroot "$ROOT_MOUNTPOINT" "$GENTOO_INSTALL_REPO_BIND/install" __install_gentoo_in_chroot
gentoo_umount gentoo_umount
} }

View File

@ -176,7 +176,7 @@ function cache_lsblk_output() {
function get_device_by_ptuuid() { function get_device_by_ptuuid() {
local ptuuid="${1,,}" local ptuuid="${1,,}"
local dev local dev
if [[ -v CACHED_LSBLK_OUTPUT ]]; then if [[ -v CACHED_LSBLK_OUTPUT && -n "$CACHED_LSBLK_OUTPUT" ]]; then
dev="$CACHED_LSBLK_OUTPUT" dev="$CACHED_LSBLK_OUTPUT"
else else
dev="$(lsblk --all --path --pairs --output NAME,PTUUID,PARTUUID)" \ dev="$(lsblk --all --path --pairs --output NAME,PTUUID,PARTUUID)" \