Files

12 lines
245 B
Bash
Raw Permalink Normal View History

2026-06-09 15:54:35 +09:00
#!/usr/bin/env sh
set -eu
2026-06-09 16:07:46 +09:00
BIN_NAME="${OPENSTOCK_BIN_NAME:-openstock}"
2026-06-09 15:54:35 +09:00
2026-06-09 16:07:46 +09:00
if ! command -v "$BIN_NAME" >/dev/null 2>&1; then
echo "$BIN_NAME is required for update. Install first with scripts/install.sh." >&2
exit 1
fi
"$BIN_NAME" update "$@"