Differences From Artifact [d274480b91]:
- File client/1.0/neutral/pkgr_setup.eagle — part of check-in [c74e469285] at 2016-11-02 19:16:14 on branch trunk — In the package setup tool, verify that OpenPGP is installed prior to trying to use it. (user: mistachkin, size: 3685) [annotate] [blame] [check-ins using]
To Artifact [73245920a5]:
- File client/1.0/neutral/pkgr_setup.eagle — part of check-in [e6dad2a80e] at 2016-11-03 19:05:27 on branch trunk — Add support for detecting the OpenPGP installation and adding it to the PATH if necessary. (user: mistachkin, size: 3739) [annotate] [blame] [check-ins using]
| ︙ | |||
89 90 91 92 93 94 95 96 97 98 99 100 101 102 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | + |
set localFileName [file join \
[::PackageRepository::getFileTempDirectory] [appendArgs \
pkg_key_ [::PackageRepository::getUniqueSuffix] .asc]]
::PackageDownloader::downloadAndSaveOpenPgpKeyFile \
$localFileName
::PackageRepository::probeForOpenPgpInstallation
::PackageRepository::openPgpMustBeInstalled
if {[::PackageRepository::importOpenPgpKeyFile $localFileName \
result]} then {
puts stdout $result
} else {
error [appendArgs \
|
| ︙ |