Fix install script.
This commit is contained in:
parent
96dcacfa10
commit
b735c92af9
|
|
@ -6,7 +6,7 @@ set -e -o pipefail
|
|||
|
||||
VERSION=$(git tag -l --merged | tail -n1 | tr -d v) # 1.2.3
|
||||
SHORTVER=$(echo $VERSION | cut -d. -f1,2) # 1.2
|
||||
if [ "$BUILDS" != "" ] && [ "$VERSION" != "" ]; then
|
||||
if [ "$BUILDS" != "" ]; then
|
||||
TAGS=$DOCKER_TAG
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -19,12 +19,9 @@ if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
|
|||
elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
|
||||
ARCH="i386"
|
||||
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then
|
||||
echo "Unsupported Architecture: ${ARCH}, sorry!"
|
||||
exit 1
|
||||
ARCH="arm64"
|
||||
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
|
||||
ARCH="armhf"
|
||||
elif [[ $ARCH == *arm* ]]; then
|
||||
ARCH="arm"
|
||||
else
|
||||
echo "Unknown Architecture. Submit a pull request to fix this, please."
|
||||
echo ==> $ARCH
|
||||
|
|
|
|||
Loading…
Reference in New Issue