From 253d145a6ecbcf383c2676e0174f5b20e0a2baac Mon Sep 17 00:00:00 2001 From: Robert Thomas <31854736+wolveix@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:37:40 +0000 Subject: [PATCH] Fix #217 --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index fafd3d0..2e93f00 100755 --- a/init.sh +++ b/init.sh @@ -3,8 +3,8 @@ set -e CURRENTUID=$(id -u) -MSGERROR="$(tput setaf 1)ERROR:$(tput sgr0)" -MSGWARNING="$(tput setaf 3)WARNING:$(tput sgr0)" +MSGERROR="\033[0;31mERROR:\033[0m" +MSGWARNING="\033[0;33mWARNING:\033[0m" NUMCHECK='^[0-9]+$' RAMAVAILABLE=$(awk '/MemAvailable/ {printf( "%d\n", $2 / 1024000 )}' /proc/meminfo) USER="steam"