Skip to content

Commit

Permalink
Merge branch 'testing' of https://github.com/Fourdee/DietPi into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel (Fourdee) committed Sep 9, 2018
2 parents 07221b1 + e3ec257 commit 6d2d424
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,6 @@ FreshRSS

Folding@Home
- https://github.com/FoldingAtHome

OpenBazaar
- https://github.com/OpenBazaar/openbazaar-go
8 changes: 4 additions & 4 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -3844,23 +3844,23 @@ We work around this error by running APT a second time. Please do not worry and
# x86_64
if (( $G_HW_ARCH == 10 )); then

INSTALL_URL_ADDRESS='https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz'
INSTALL_URL_ADDRESS='https://dl.google.com/go/go1.11.linux-amd64.tar.gz'

# ARMv8
elif (( $G_HW_ARCH == 3 )); then

INSTALL_URL_ADDRESS='https://storage.googleapis.com/golang/go1.9.linux-arm64.tar.gz'
INSTALL_URL_ADDRESS='https://dl.google.com/go/go1.11.linux-arm64.tar.gz'

# ARMv6/7
else

INSTALL_URL_ADDRESS='https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz'
INSTALL_URL_ADDRESS='https://dl.google.com/go/go1.11.linux-armv6l.tar.gz'

fi

Download_Install "$INSTALL_URL_ADDRESS" /usr/local/

mkdir -p $G_FP_DIETPI_USERDATA/go.sh
mkdir -p $G_FP_DIETPI_USERDATA/go
cat << _EOF_ > /etc/bashrc.d/go.sh
#!/bin/bash
export GOPATH=$G_FP_DIETPI_USERDATA/go
Expand Down

0 comments on commit 6d2d424

Please sign in to comment.