fetch-stage3: fix gnupg home directory
This commit is contained in:
parent
5a0c2c9b36
commit
9734668ed9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user