From 2e3d9aae0021d9d01f000c19375b63136b2f1d7c Mon Sep 17 00:00:00 2001 From: davidbalbino Date: Sun, 23 Aug 2026 19:11:02 -0300 Subject: [PATCH] fix: restore legacy installer URL --- public/install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 public/install.sh diff --git a/public/install.sh b/public/install.sh new file mode 100755 index 0000000..b564c1d --- /dev/null +++ b/public/install.sh @@ -0,0 +1,17 @@ +#!/bin/sh +set -eu + +# Compatibility entrypoint for installation links published before the +# installer moved to immutable GitHub Release assets. +installer_url="https://github.com/push-in/pam/releases/latest/download/install.sh" + +if command -v curl >/dev/null 2>&1; then + exec curl -fsSL "$installer_url" | sh +fi + +if command -v wget >/dev/null 2>&1; then + exec wget -qO- "$installer_url" | sh +fi + +echo "PAM installer: curl or wget is required." >&2 +exit 1