From 9734668ed98b4985b0e4b2186ad7d1b987b0c80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Deckert?= Date: Fri, 21 Mar 2025 18:04:04 +0100 Subject: [PATCH] fetch-stage3: fix gnupg home directory --- scripts/fetch-stage3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-stage3 b/scripts/fetch-stage3 index 6c2efd4..79b35d6 100755 --- a/scripts/fetch-stage3 +++ b/scripts/fetch-stage3 @@ -34,7 +34,7 @@ def get_manifest(arch, mirror=MIRROR): manifest = [] url = mirror + '/releases/{0}/autobuilds/latest-stage3.txt'.format(arch) base_url = mirror + '/releases/{0}/autobuilds/'.format(arch) - gpg = gnupg.GPG(gnupghome="/home/user/.gnupg") + gpg = gnupg.GPG(gnupghome=os.path.expanduser('~') + '/.gnupg') with urllib.request.urlopen(url) as fp: text = gpg.verify_file(fp, extra_args=['-o', '-']).data