|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
#!/bin/bash |
|
|
|
|
export CGO_ENABLED=1 |
|
|
|
|
# See if the User can become ROOT user |
|
|
|
|
if [ "$EUID" -eq 0 ]; then |
|
|
|
|
USE_SUPER="" |
|
|
|
|
@ -77,6 +78,11 @@ if [ ! -x /usr/bin/tar ]; then |
|
|
|
|
/usr/bin/echo "Installing tar..." |
|
|
|
|
auto-pkg-installer tar |
|
|
|
|
fi |
|
|
|
|
if [ ! -x /usr/bin/gcc ]; then |
|
|
|
|
/usr/bin/echo "Installing gcc...the GNU c Compiler..." |
|
|
|
|
auto-pkg-installer gcc |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ ! -x /usr/local/go/bin/go ]; then |
|
|
|
|
if [ ! -d ~/Downloads ]; then |
|
|
|
|
/usr/bin/mkdir -p ~/Downloads |
|
|
|
|
|