From db89d282cdf1730fc9c0a2847bf45757f3e78cae 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 --- 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 1f14e26..b9faa02 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 -- 1.7.9.5