From ae796106f0375c0342f7c69083c0ab0f1b97b1fc Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Fri, 23 Jun 2023 04:26:18 +0800 Subject: feat(add-pkg): Add prismlauncher Signed-off-by: KunoiSayami --- .gitmodules | 3 +++ repo/prismlauncher | 1 + utils/update-db.py | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 160000 repo/prismlauncher diff --git a/.gitmodules b/.gitmodules index 1653bc9..90942b9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,6 @@ [submodule "repo/cinny"] path = repo/cinny url = https://aur.archlinux.org/cinny.git +[submodule "repo/prismlauncher"] + path = repo/prismlauncher + url = https://aur.archlinux.org/prismlauncher.git diff --git a/repo/prismlauncher b/repo/prismlauncher new file mode 160000 index 0000000..d512a9b --- /dev/null +++ b/repo/prismlauncher @@ -0,0 +1 @@ +Subproject commit d512a9b64652c5a215e54b437453b023307c94ff 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() -- cgit v1.3.1