From 5ac298bb4aa6c62a0ebd46025a3e664c3f9466a5 Mon Sep 17 00:00:00 2001 From: Chrysostomus Date: Fri, 24 Feb 2017 15:10:51 +0800 Subject: [PATCH] Dont check for error with vconsole.conf either, installation needs to work even if its not set. --- lib/util-base.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/util-base.sh b/lib/util-base.sh index c060cd9..44890a1 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -307,8 +307,7 @@ install_base() { # arch_chroot "mhwd-kernel -i $(cat ${PACKAGES} | xargs -n1 | grep -f /tmp/.available_kernels | xargs)" # If the virtual console has been set, then copy config file to installation - [[ -e /tmp/vconsole.conf ]] && cp -f /tmp/vconsole.conf ${MOUNTPOINT}/etc/vconsole.conf 2>$ERR - check_for_error "copy vconsole.conf" "$?" + [[ -e /tmp/vconsole.conf ]] && cp -f /tmp/vconsole.conf ${MOUNTPOINT}/etc/vconsole.conf # If specified, copy over the pacman.conf file to the installation [[ $COPY_PACCONF -eq 1 ]] && cp -f /etc/pacman.conf ${MOUNTPOINT}/etc/pacman.conf