Make trusted.gpg world-readable

There is no reason to hide it from anyone, the GPG default is not
appropriate in our case.
This commit is contained in:
Laurent Bachelier 2012-01-30 16:13:36 +01:00
commit 289b60bcbe

View file

@ -129,6 +129,7 @@ class WeboobRepos(ReplApplication):
if not os.path.exists(krname):
raise Exception('No valid key file found.')
kr_mtime = mktime(strptime(str(r.key_update), '%Y%m%d%H%M'))
os.chmod(krname, 0644)
os.utime(krname, (kr_mtime, kr_mtime))
else:
print 'Keyring is up to date'