fix: update install script
#!/bin/sh
set -e
-# Code generated by godownloader on 2020-04-25T10:38:57Z. DO NOT EDIT.
+# Code generated by godownloader on 2020-10-22T12:52:40Z. DO NOT EDIT.
#
usage() {
@@ -117,18 +117,20 @@ adjust_format() {
adjust_os() {
# adjust archive name based on OS
case ${OS} in
- 386) OS=32-bit ;;
- amd64) OS=64-bit ;;
- darwin) OS=macOS ;;
+ 386) OS=32bit ;;
+ amd64) OS=64bit ;;
+ arm) OS=arm32 ;;
+ darwin) OS=macos ;;
esac
true
}
adjust_arch() {
# adjust archive name based on ARCH
case ${ARCH} in
- 386) ARCH=32-bit ;;
- amd64) ARCH=64-bit ;;
- darwin) ARCH=macOS ;;
+ 386) ARCH=32bit ;;
+ amd64) ARCH=64bit ;;
+ arm) ARCH=arm32 ;;
+ darwin) ARCH=macos ;;
esac
true
}
@@ -396,7 +398,7 @@ adjust_arch
log_info "found version: ${VERSION} for ${TAG}/${OS}/${ARCH}"
-NAME=${PROJECT_NAME}_${VERSION}_${OS}_${ARCH}
+NAME=${PROJECT_NAME}_${VERSION}-sqlite_${OS}_${ARCH}
TARBALL=${NAME}.${FORMAT}
TARBALL_URL=${GITHUB_DOWNLOAD}/${TAG}/${TARBALL}
CHECKSUM=${PROJECT_NAME}_${VERSION}_checksums.txt
