Fixed new source bug, removed bionic, added dynamic defaults

This commit is contained in:
Spitap
2023-10-15 10:57:49 +02:00
committed by Antoine Nguyen
parent b667636dcb
commit bd91c85888
4 changed files with 17 additions and 27 deletions

View File

@@ -57,7 +57,7 @@ class DEBPackage(Package):
with_source: bool = True):
key_file = f"/etc/apt/keyrings/{name}.gpg"
utils.exec_cmd(
f"wget -O - {key_url} | gpg --dearmor | sudo tee {key_file} > /dev/null"
f"wget -O - {key_url} | gpg --dearmor | tee {key_file} > /dev/null"
)
line_types = ["deb"]
if with_source: