Update check_avx.sh
This commit is contained in:
parent
3fd592aabc
commit
ca26988332
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,14 @@ program="Thorium Browser." # The program we are checking for.
|
||||||
YEL='\033[1;33m' # Yellow
|
YEL='\033[1;33m' # Yellow
|
||||||
RED='\033[1;31m' # Red
|
RED='\033[1;31m' # Red
|
||||||
GRE='\033[1;32m' # Green
|
GRE='\033[1;32m' # Green
|
||||||
|
c0=$'\033[0m' # Reset Text
|
||||||
|
bold=$'\033[1m' # Bold Text
|
||||||
|
underline=$'\033[4m' # Underline Text
|
||||||
|
|
||||||
|
# Error handling
|
||||||
|
yell() { echo "$0: $*" >&2; }
|
||||||
|
die() { yell "$*"; exit 111; }
|
||||||
|
try() { "$@" || die "${RED}Failed $*"; }
|
||||||
|
|
||||||
script_name=${0##*/}
|
script_name=${0##*/}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue