From: Urban Wallasch Date: Sat, 11 Apr 2020 14:27:15 +0000 (+0200) Subject: * After action continue with any key, not just enter. X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=1510e1d2a02104c1b2d23b5e1cc2d2dc6d966765;p=xbpsui.git * After action continue with any key, not just enter. * Removed grep from prerequisites. * Bumped version to 2.0.1. --- 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: