Skip to content

refactor: refactor apt sources installation#341

Open
mryel00 wants to merge 1 commit into
mainsail-crew:developfrom
mryel00:fix/gpg
Open

refactor: refactor apt sources installation#341
mryel00 wants to merge 1 commit into
mainsail-crew:developfrom
mryel00:fix/gpg

Conversation

@mryel00
Copy link
Copy Markdown
Member

@mryel00 mryel00 commented May 11, 2026

gpg is not a default package on Debian systems therefore the key installation fails for these systems.
Using .asc as the file extension for the key removes the necessity for gpg as apt will read the ASCII-armored key directly.
This also needs an adjustment in https://github.com/mainsail-crew/apt.mainsail.xyz to change the path to .asc in the .source files.

This PR also improves the Code quality of the install_apt_sources function.

`gpg` is not a default package on Debian systems therefore the key
installation fails for these systems.
Using `.asc` as the file extension for the key removes the necessity for
`gpg` as `apt` will read the ASCII-armored key directly.

Signed-off-by: Patrick Gehrsitz <github@mryel.de>
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