equal
deleted
inserted
replaced
346 return matchoutput('tla --version 2>&1', br'The GNU Arch Revision') |
346 return matchoutput('tla --version 2>&1', br'The GNU Arch Revision') |
347 |
347 |
348 @check("gpg", "gpg client") |
348 @check("gpg", "gpg client") |
349 def has_gpg(): |
349 def has_gpg(): |
350 return matchoutput('gpg --version 2>&1', br'GnuPG') |
350 return matchoutput('gpg --version 2>&1', br'GnuPG') |
|
351 |
|
352 @check("gpg2", "gpg client v2") |
|
353 def has_gpg2(): |
|
354 return matchoutput('gpg --version 2>&1', br'GnuPG[^0-9]+2\.') |
351 |
355 |
352 @check("unix-permissions", "unix-style permissions") |
356 @check("unix-permissions", "unix-style permissions") |
353 def has_unix_permissions(): |
357 def has_unix_permissions(): |
354 d = tempfile.mkdtemp(dir='.', prefix=tempprefix) |
358 d = tempfile.mkdtemp(dir='.', prefix=tempprefix) |
355 try: |
359 try: |