juju / charm-helpers

Apache License 2.0
18 stars 127 forks source link

Add -S option when calling add-apt-repository for a line starting with deb #771

Open verterok opened 1 year ago

verterok commented 1 year ago

This is only for jammy or newer, and it just bypass any custom ppa logic in add-apt-repository by passing -S if the source line starts with deb. fixes #770

verterok commented 1 year ago

Take this as an idea on a possible fix, I'm far from an expert on charmhelper internals and this also requires some tests. We are using this in our code to work around the issue.