mirror of
https://github.com/G2-Games/welcome.sh.git
synced 2025-04-19 05:22:53 -05:00
Supressed random error, cleaned up update code
This commit is contained in:
parent
5dcf4a77f8
commit
bdcb586589
1 changed files with 2 additions and 2 deletions
|
@ -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 $$)
|
||||||
|
|
Loading…
Reference in a new issue