Files
website/apps
Mauricio Siu 43cc267a9f fix: make install.sh POSIX-compatible so curl | sh works on dash
The docs instruct 'curl -sSL https://dokploy.com/install.sh | sh', but on
Debian/Ubuntu sh is dash, which has no [[ or =~. The RELEASE_TAG detection
failed with 'sh: 264: [[: not found' and, since the script does not run
with set -e, silently fell through to the elif branch, so stable installs
via sh got RELEASE_TAG=<version> instead of RELEASE_TAG=latest.

Replace the bash-only test with a POSIX case statement. Verified end-to-end
on Ubuntu 20.04/24.04 and Debian 12 (dash), Alpine 3.20 (busybox ash), and
Rocky 9 / Fedora 41 (bash as sh), including the canary, latest and update
code paths. Both '| sh' and '| bash' now work.

Fixes #157
2026-07-07 09:44:43 -06:00
..