mirror of
https://github.com/Dokploy/website.git
synced 2026-07-14 10:25:24 +02:00
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