standardize apt-get

This commit is contained in:
aptalca
2021-06-16 17:22:43 -04:00
parent decc1f832b
commit f90b13c8c2
2 changed files with 16 additions and 13 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update
+1 -1
View File
@@ -19,7 +19,7 @@ if [ -f "/golang/golang_${ARCH}.tar.gz" ]; then
rm -rf /golang rm -rf /golang
echo "Installing gcc, to make CGO work" echo "Installing gcc, to make CGO work"
apt-get update && apt-get install -y gcc apt-get install -y gcc
else else
echo "Golang already installed, skipping" echo "Golang already installed, skipping"
fi fi