Supressed random error, cleaned up update code

This commit is contained in:
G2-Games 2022-11-25 00:48:22 -06:00
parent 5dcf4a77f8
commit bdcb586589

View file

@ -1,5 +1,5 @@
version=1.0.5 version=1.0.5
export LC_NUMERIC="en_US.UTF-8" #Fix for locales that use , instead of . as a decimal delimiter export LC_NUMERIC="en_US.UTF-8" &> /dev/null #Fix for locales that use , instead of . as a decimal delimiter
#========Welcome=======# #========Welcome=======#
welcome () { welcome () {
msg="Welcome" # Default msg="Welcome" # Default
@ -151,7 +151,7 @@ updates () {
if [[ -a ~/.welcome/updates ]]; then if [[ -a ~/.welcome/updates ]]; then
rm ~/.welcome/updates rm ~/.welcome/updates
fi fi
return 1 return 0
} }
pid=$(echo $$) pid=$(echo $$)