Skip to content

fix(install): improve install scripts for unsupported platform - #258

Merged
zeroshade merged 5 commits into
mainfrom
unsupported-platform
Jan 20, 2026
Merged

fix(install): improve install scripts for unsupported platform#258
zeroshade merged 5 commits into
mainfrom
unsupported-platform

Conversation

@zeroshade

Copy link
Copy Markdown
Member

closes #240

@amoeba amoeba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on for my very niche issue :)

When I try this in an alpine container I get,

/tmp/dbc/scripts # sh install.sh
install.sh: line 1399: HTTP_STATUS: parameter not set

I didn't debug but it looks like maybe there's a minor logic issue.

@zeroshade

Copy link
Copy Markdown
Member Author

We are using the -u option, so it was annoyed that we didn't already define HTTP_STATUS during the parse step. I fixed it and verified by running it on an alpine container and it properly errored out.

Comment thread scripts/install.ps1 Outdated
Comment thread scripts/install.sh Outdated
Comment thread scripts/install.ps1 Outdated
Comment thread scripts/install.sh Outdated
@amoeba

amoeba commented Jan 20, 2026

Copy link
Copy Markdown
Member

My review comments got doubled up, sorry about the confusion there. My tweaks were,

  1. Say "dbc is not available" instead of "no package available"
  2. Prefer the issue tracker. This is open source software after all.

Co-authored-by: Bryce Mecum <petridish@gmail.com>
Co-authored-by: Bryce Mecum <petridish@gmail.com>
@zeroshade

Copy link
Copy Markdown
Member Author

@amoeba updated from your comments

@amoeba amoeba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks.

@zeroshade
zeroshade merged commit b54f5f7 into main Jan 20, 2026
3 checks passed
@zeroshade
zeroshade deleted the unsupported-platform branch January 20, 2026 21:49
zeroshade added a commit that referenced this pull request Apr 17, 2026
closes #240

---------

Co-authored-by: Bryce Mecum <petridish@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install scripts report HTTP 403 when running on an out of support platform

2 participants