bb64 release v33

This commit is contained in:
Your Name 2025-05-14 22:55:33 +12:00
parent f6d4ecce59
commit 868c1c9c57
2 changed files with 8 additions and 2 deletions

View File

@ -20,6 +20,12 @@ else
fi
fi
# 0. see if we were passed a user to chown to
# -----------------------------------------------------------------------------
CHOWN_USER="$2"
if [[ -z "$CHOWN_USER" ]]; then
CHOWN_USER=$USER
fi
# 1. Determine architecture
# -----------------------------------------------------------------------------
@ -49,7 +55,7 @@ chmod +x "$TMPDIR/bb64"
# 5. Move to /usr/local/bin
# -----------------------------------------------------------------------------
docker run --rm -v "$TMPDIR:/tmp" -v "$INSTALL_DIR:/target" alpine sh -c "cp /tmp/bb64 /target/bb64"
docker run --rm -v "$TMPDIR:/tmp" -v "$INSTALL_DIR:/target" alpine sh -c "cp /tmp/bb64 /target/bb64; chown $CHOWN_USER /target/bb64"
rm "$TMPDIR/bb64"
# 6. Print success message

View File

@ -1 +1 @@
static const char *VERSION = "32";
static const char *VERSION = "33";