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

merge-requests/273/head
Bernhard Landauer 8 years ago
parent f8c755ec03
commit 081aa543d4

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

Loading…
Cancel
Save