summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rescue/Makefile2
-rw-r--r--rescue/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index 1f50534aa..eefbc9a79 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -11,7 +11,7 @@ install: $(RESCUE)
cp -f $< $(STAGE2_DEST)
$(RESCUE): $(wildcard tree/**/*) $(wildcard bin/*) $(wildcard sbin/*) make_rescue_img list.xml aliases
- [ -n $$DEBUG_INSTALL_LANG ] && perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if /LANGUAGE/' tree/usr/bin/mageia-rescue
+ if [[ -n "$$DEBUG_INSTALL_LANG" ]]; then perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if /LANGUAGE/' tree/usr/bin/mageia-rescue; fi
DISTRIB_DESCR=$(DISTRIB_DESCR) ./make_rescue_img
dist: tar
diff --git a/rescue/NEWS b/rescue/NEWS
index a89ebe368..e4370e3e6 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- fix running loadkeys w/o arg if DEBUG_INSTALL_LANG is not set (mga#26782)
+
Version 1.64 - 20 March 2020 by Thierry Vignaud
- debug mode: