From c7f3a0ea410cce48052cf9dd1c2e583f83aa291f Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Wed, 1 Mar 2017 06:31:31 +0100 Subject: [PATCH] fix check for edit mkinitcpio.conf --- lib/util-menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-menu.sh b/lib/util-menu.sh index aef2814..cc9a349 100644 --- a/lib/util-menu.sh +++ b/lib/util-menu.sh @@ -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