Do not check for error when compying pacman.conf, it is supposed to return 1 half

the time
This commit is contained in:
Chrysostomus 2017-02-24 15:05:10 +08:00
parent d29471833e
commit 601af4a976

View File

@ -311,8 +311,7 @@ install_base() {
check_for_error "copy 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 2>$ERR
check_for_error "copy pacman.conf" "$?"
[[ $COPY_PACCONF -eq 1 ]] && cp -f /etc/pacman.conf ${MOUNTPOINT}/etc/pacman.conf
# if branch was chosen, use that also in installed system. If not, use the system setting
if [[ -e ${BRANCH} ]]; then