aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-06-23 04:26:18 +0800
committerKunoiSayami <[email protected]>2023-06-23 04:26:18 +0800
commitae796106f0375c0342f7c69083c0ab0f1b97b1fc (patch)
tree7a8306ff36c098c7faacdfba3b78bf41b4a5b9d4 /utils
parent9d0d20ed4c6f7b0859f239ca059ffdd50ba360a6 (diff)
feat(add-pkg): Add prismlauncher
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/update-db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/update-db.py b/utils/update-db.py
index 536d745..3e318f5 100755
--- a/utils/update-db.py
+++ b/utils/update-db.py
@@ -29,7 +29,7 @@ async def add_package(dest: pathlib.Path, pkg_name: str, key: str) -> None:
async def kill_gpg_agnet() -> None:
- await asyncio.create_subprocess_exec("/usr/bin/gpg-connect-agent", 'killagent', '/bye')
+ await (await asyncio.create_subprocess_exec("/usr/bin/gpg-connect-agent", 'killagent', '/bye')).wait()
async def main(remote_dest: str, repo_base_name: str, sign_key: str) -> None:
@@ -44,7 +44,7 @@ async def main(remote_dest: str, repo_base_name: str, sign_key: str) -> None:
for file in os.listdir(str(remote_dest)):
if ".pkg.tar.zst" in file and not file.endswith(".sig"):
await add_package(database_dest, file, sign_key)
-
+
await kill_gpg_agnet()