Improves adguardhome-sync addon when running on alpine LXCs#12362
Merged
CrazyWolf13 merged 2 commits intocommunity-scripts:mainfrom Feb 26, 2026
Merged
Improves adguardhome-sync addon when running on alpine LXCs#12362CrazyWolf13 merged 2 commits intocommunity-scripts:mainfrom
CrazyWolf13 merged 2 commits intocommunity-scripts:mainfrom
Conversation
Better handle edge case of `curl` not being installed on Alpine. Install `jq`, required by `fetch_and_deploy_gh_release()`, which if not installed makes the script error out with confusing stuff Rewritten `get_ip()` to make it also work on busybox environments (Alpine).
`jq` is installed by some code inside of `fetch_and_deploy_gh_release` for debian So it doesn't make much sense to install it here. We only do so for alpine, as if its not installed it breaks the script
CrazyWolf13
reviewed
Feb 26, 2026
MickLesk
approved these changes
Feb 26, 2026
CrazyWolf13
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
Improves the adguardhome-sync addon script usage on clean alpine LXC, not created thought community scripts.
Installs required
jqdependency if not found, otherwise the script fails.The old function used to get the container ip address doesn't work with alpines busybox utils, so it was rewritten.
🔗 Related Issue
Fixes #12337
✅ Prerequisites
🛠️ Type of Change
README,AppName.md,CONTRIBUTING.md, or other docs.