re-apply @papajoker 's last commit - it got swallowed partially by my other big one ... ;)

This commit is contained in:
Bernhard Landauer 2017-03-02 04:13:48 +01:00
parent f8c755ec03
commit 081aa543d4

View File

@ -266,7 +266,7 @@ install_acc_menu() {
# If something has been selected, install
if [[ $(cat ${PACKAGES}) != "" ]]; then
basestrap ${MOUNTPOINT} ${PACKAGES} 2>$ERR
check_for_error "$FUNCNAME" $?
check_for_error "$FUNCNAME" $? || return $?
fi
}
@ -342,7 +342,7 @@ edit_configs() {
if [[ $FILE == "${MOUNTPOINT}/etc/mkinitcpio.conf" ]]; then
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "${_MMRunMkinit}?" 0 0 && {
run_mkinitcpio 2>$ERR
check_for_error "run_mkinitcpio" "$?" edit_configs
check_for_error "run_mkinitcpio" "$?"
}
fi
else