mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-09 19:11:02 +00:00
fix check for edit mkinitcpio.conf
This commit is contained in:
parent
c4101a847d
commit
c7f3a0ea41
@ -341,7 +341,7 @@ edit_configs() {
|
|||||||
|
|
||||||
if [[ $FILE != "" ]]; then
|
if [[ $FILE != "" ]]; then
|
||||||
nano $FILE
|
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 && {
|
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" "$?" edit_configs
|
||||||
|
Loading…
Reference in New Issue
Block a user