From b905684b63f3f8c83cb04ca67700f1de387c9cfb Mon Sep 17 00:00:00 2001 From: G2 Date: Tue, 7 Mar 2023 09:41:36 -0600 Subject: [PATCH] Fixed issues with strict mode by removing it for now. Fixes #5 --- welcome.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/welcome.sh b/welcome.sh index 2db4495..fcd8f66 100755 --- a/welcome.sh +++ b/welcome.sh @@ -1,7 +1,3 @@ -# Bash "strict mode" => http://redsymbol.net/articles/unofficial-bash-strict-mode/ -set -euo pipefail -IFS=$'\n\t' - export LC_NUMERIC="en_US.UTF-8" &> /dev/null #Fix for locales that use , instead of . as a decimal delimiter # Define "global" variables @@ -270,9 +266,9 @@ lastdate=$(cat ~/.welcome/udm 2>/dev/null) if [[ $((date - lastdate)) -ge 86400 ]]; then if [[ "$environment" = "bash" ]]; then - bash install.sh auto + bash ~/.welcome/install.sh auto elif [[ "$environment" = "zsh" ]]; then - zsh install.sh auto + zsh ~/.welcome/install.sh auto fi date +%s >| ~/.welcome/udm 2>/dev/null elif ! [[ -f ~/.welcome/udm ]]; then