From d8a123393d8d773d2bd592ef47567f150aea4b6c Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Wed, 26 Nov 2014 16:23:31 -0500 Subject: [PATCH] Bug 13143: Followup - Correct the pause message 'read anykey' actually requires enter under sh. This patch changes the string from: 'Press any key to clear the screen...' to 'Press enter to clear the screen...' TEST PLAN --------- 1) Apply the first two patches 2) Trigger the script. 2) Press 'q' or anything other than enter when prompted. --- You could type a whole sentence! Oops! 3) Press enter. 4) Apply this patch 5) Trigger the script. 6) Be happy that you aren't told any key will work. 7) run koha qa tools Signed-off-by: Mirko Tietgen http://bugs.koha-community.org/show_bug.cgi?id=13141 Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- debian/scripts/koha-passwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/koha-passwd b/debian/scripts/koha-passwd index 1f14e26088..b9faa02171 100755 --- a/debian/scripts/koha-passwd +++ b/debian/scripts/koha-passwd @@ -47,7 +47,7 @@ do if is_instance $name ; then passwd=$(xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/$name/koha-conf.xml); echo "Password for $name: $passwd" - echo "Press any key to clear the screen..." + echo "Press enter to clear the screen..." read anykey clear else -- 2.39.5