fix check for edit mkinitcpio.conf

This commit is contained in:
Bernhard Landauer 2017-03-01 06:31:31 +01:00
parent c4101a847d
commit c7f3a0ea41

View File

@ -341,7 +341,7 @@ edit_configs() {
if [[ $FILE != "" ]]; then
nano $FILE
if [[ $FILE="${MOUNTPOINT}/etc/mkinitcpio.conf" ]]; then
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