Skip to content

Conversation

@bdantas
Copy link
Contributor

@bdantas bdantas commented Jan 2, 2026

Currently, if full version is 17alpha1 (for example), getMajorVer outputs 17alpha1 rather than 17 as expected. Downstream from this bug, getMirror sets the MIRROR variable to the nonexistent url http://repo.tinycorelinux.net/17alpha1.x/x86_64/tcz (rather than the expected http://repo.tinycorelinux.net/17.x/x86_64/tcz), breaking tce-update and update-everything, among others. With this bug fix, getMajorVer always outputs the expected major version -> MIRROR is set to correct url -> everybody's happy :)

Currently, if full version is 17alpha1 (for example), getMajorVer outputs 17alpha1. Bug fix is so that getMajorVer outputs 17 in this example.
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.

1 participant