From 1510e1d2a02104c1b2d23b5e1cc2d2dc6d966765 Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Sat, 11 Apr 2020 16:27:15 +0200 Subject: [PATCH] * After action continue with any key, not just enter. * Removed grep from prerequisites. * Bumped version to 2.0.1. --- XbpsUI.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XbpsUI.sh b/XbpsUI.sh index e6c1d5d..20d4ab1 100755 --- a/XbpsUI.sh +++ b/XbpsUI.sh @@ -1,6 +1,6 @@ #!/bin/bash -verstr="XbpsUI 2.0" +verstr="XbpsUI 2.0.1" # Evaluate command line: for arg in "$@" ; do @@ -36,7 +36,7 @@ fi # Check/install essential prerequisites: pinst="" -preq="fzf gawk grep" +preq="fzf gawk" [[ "$use_dialog" == "1" ]] && preq="dialog $preq" for cmd in $preq ; do if ! command -pv "$cmd" > /dev/null ; then @@ -463,8 +463,8 @@ function statrep() { 42 ) echo -e "\e[7m [NO CHANGES REQUESTED] \e[0m" ;; * ) echo -e "\e[41m [FAILED] \e[0m" ;; esac - echo "Press ENTER to continue ..." - read + echo "Press any key to continue ..." + read -sn1 } # Main loop: -- 2.30.2