Files
opengist/rootfs/root
jason 99554a060e 🐛 Fix opengist download SSL failure in 05-custom.sh 🐛
Docker build was failing with "SSL: no alternative certificate subject
name matches target hostname" when curl resolved api.github.com/
github.com via dual-stack (IPv6-preferring) lookup. Forcing IPv4
(matching the pattern already used in the gitea container's
05-custom.sh) resolves it. Also fixed lint findings surfaced while
touching the file, and a real exit-code bug where the script always
exited 0 regardless of install success/failure.

- rootfs/root/docker/setup/05-custom.sh: add -4 to both curl calls;
  prefix script-local vars with OPENGIST_ (matching setup-script env
  prefix convention, project name not script filename); add -- to
  grep; add matching VERSION= assignment for the ##@Version header;
  fix trailing exit code capture that always exited 0 by exiting
  $OPENGIST_EXITCODE directly instead of overwriting it with $? of an
  unrelated command
2026-08-02 22:12:21 -04:00
..