Minor patch to set GOCACHE env var if it's not set automatically
This commit is contained in:
parent
2630490dee
commit
054331cb5a
|
@ -133,6 +133,10 @@ sleep 2
|
|||
if ! grep -qF 'export PATH=$PATH:$HOME/.allpac/bin' "$shell_rc"; then
|
||||
echo 'export PATH=$PATH:$HOME/.allpac/bin' >> "$shell_rc"
|
||||
fi
|
||||
echo "Ensuring GOCACHE is set..."
|
||||
if ! grep -qF 'export GOCACHE' "$shell_rc"; then
|
||||
echo 'export GOCACHE=$HOME/.cache/go-build' >> "$shell_rc"
|
||||
fi
|
||||
|
||||
updater_url="https://git.pixelridgesoftworks.com/PixelRidge-Softworks/Installers/raw/branch/main/allpac/update.sh"
|
||||
echo "Downloading updater script..."
|
||||
|
|
Loading…
Reference in New Issue
Block a user