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