aboutsummaryrefslogtreecommitdiff
path: root/distribution
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-09-03 20:43:42 +0300
committerGitHub <noreply@github.com>2026-09-03 20:43:42 +0300
commitb07ba9ced8b57099f038bc633ed1c9a5f5b3a1ed (patch)
treec4fa37c84be7c0eeb7e28ff9f2c8dd95cb5b0c42 /distribution
parentec745235a95df0004e14069b79689814104c199c (diff)
fix: reject Android in Unix installer (#3577)
refs #3571 Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Diffstat (limited to 'distribution')
-rwxr-xr-xdistribution/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/distribution/install.sh b/distribution/install.sh
index 4e3ce40d..18bbfaa3 100755
--- a/distribution/install.sh
+++ b/distribution/install.sh
@@ -21,6 +21,10 @@ main() {
*) err "unsupported OS: $OS" ;;
esac
+ if [ "$OS" = "Linux" ] && [ "$(uname -o 2>/dev/null || true)" = "Android" ]; then
+ err "Android/Termux is not currently supported by Herdr release binaries. SSH to a supported host instead: https://herdr.dev/docs/how-to-work/#work-from-your-phone"
+ fi
+
ARCH="$(uname -m)"
case "$ARCH" in
x86_64|amd64) arch="x86_64" ;;