Comment on what architecture was detected
This commit is contained in:
parent
9097354a78
commit
3b12b0d13b
|
@ -102,12 +102,15 @@ function gogs_parameters {
|
||||||
ARCHITECTURE=$(uname -m)
|
ARCHITECTURE=$(uname -m)
|
||||||
if [[ ${ARCHITECTURE} == "arm"* ]]; then
|
if [[ ${ARCHITECTURE} == "arm"* ]]; then
|
||||||
CURR_ARCH=armv5
|
CURR_ARCH=armv5
|
||||||
|
echo $"Using $CURR_ARCH"
|
||||||
fi
|
fi
|
||||||
if [[ ${ARCHITECTURE} == "amd"* || ${ARCHITECTURE} == "x86_64" ]]; then
|
if [[ ${ARCHITECTURE} == "amd"* || ${ARCHITECTURE} == "x86_64" ]]; then
|
||||||
CURR_ARCH=amd64
|
CURR_ARCH=amd64
|
||||||
|
echo $"Using $CURR_ARCH"
|
||||||
fi
|
fi
|
||||||
if [[ ${ARCHITECTURE} == *"386" || ${ARCHITECTURE} == *"686" ]]; then
|
if [[ ${ARCHITECTURE} == *"386" || ${ARCHITECTURE} == *"686" ]]; then
|
||||||
CURR_ARCH=386
|
CURR_ARCH=386
|
||||||
|
echo $"Using $CURR_ARCH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -400,12 +400,15 @@ function mesh_install_ipfs_go {
|
||||||
ARCHITECTURE=$(uname -m)
|
ARCHITECTURE=$(uname -m)
|
||||||
if [[ $ARCHITECTURE == "arm"* ]]; then
|
if [[ $ARCHITECTURE == "arm"* ]]; then
|
||||||
IPFS_ARCH=arm
|
IPFS_ARCH=arm
|
||||||
|
echo $"Using $IPFS_ARCH"
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == "amd"* || $ARCHITECTURE == "x86_64" ]]; then
|
if [[ $ARCHITECTURE == "amd"* || $ARCHITECTURE == "x86_64" ]]; then
|
||||||
IPFS_ARCH=amd64
|
IPFS_ARCH=amd64
|
||||||
|
echo $"Using $IPFS_ARCH"
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
||||||
IPFS_ARCH=386
|
IPFS_ARCH=386
|
||||||
|
echo $"Using $IPFS_ARCH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -152,12 +152,15 @@ function mesh_upgrade_golang {
|
||||||
ARCHITECTURE=$(uname -m)
|
ARCHITECTURE=$(uname -m)
|
||||||
if [[ $ARCHITECTURE == "arm"* ]]; then
|
if [[ $ARCHITECTURE == "arm"* ]]; then
|
||||||
GOARCH=armv6l
|
GOARCH=armv6l
|
||||||
|
echo $"Using $GOARCH"
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == "amd"* || $ARCHITECTURE == "x86_64" ]]; then
|
if [[ $ARCHITECTURE == "amd"* || $ARCHITECTURE == "x86_64" ]]; then
|
||||||
GOARCH=amd64
|
GOARCH=amd64
|
||||||
|
echo $"Using $GOARCH"
|
||||||
fi
|
fi
|
||||||
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
if [[ $ARCHITECTURE == *"386" || $ARCHITECTURE == *"686" ]]; then
|
||||||
GOARCH=386
|
GOARCH=386
|
||||||
|
echo $"Using $GOARCH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
GO_SOURCE=https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GOARCH}.tar.gz
|
GO_SOURCE=https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GOARCH}.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue