1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

dankinstall: use gpg batch for deb

This commit is contained in:
bbedward
2025-12-08 23:36:14 -05:00
parent a32aec3d59
commit c4313395b5

View File

@@ -453,7 +453,7 @@ func (d *DebianDistribution) enableOBSRepos(ctx context.Context, obsPkgs []Packa
CommandInfo: fmt.Sprintf("curl & gpg to add key for %s", pkg.RepoURL),
}
keyCmd := fmt.Sprintf("bash -c 'curl -fsSL %s/Release.key | gpg --dearmor -o %s'", baseURL, keyringPath)
keyCmd := fmt.Sprintf("bash -c 'curl -fsSL %s/Release.key | gpg --batch --dearmor -o %s'", baseURL, keyringPath)
cmd := ExecSudoCommand(ctx, sudoPassword, keyCmd)
if err := d.runWithProgress(cmd, progressChan, PhaseSystemPackages, 0.18, 0.20); err != nil {
return fmt.Errorf("failed to add OBS GPG key for %s: %w", pkg.RepoURL, err)