Differences From Artifact [08cbb4215e]:
- File client/1.0/neutral/pkgr_setup.eagle — part of check-in [ae7b695382] at 2016-11-02 07:22:02 on branch trunk — Fix some comments and an error message. (user: mistachkin, size: 3634) [annotate] [blame] [check-ins using]
To 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]
| ︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | + + |
if {![info exists ::argv] || [llength $::argv] == 0} then {
set localFileName [file join \
[::PackageRepository::getFileTempDirectory] [appendArgs \
pkg_key_ [::PackageRepository::getUniqueSuffix] .asc]]
::PackageDownloader::downloadAndSaveOpenPgpKeyFile \
$localFileName
::PackageRepository::openPgpMustBeInstalled
if {[::PackageRepository::importOpenPgpKeyFile $localFileName \
result]} then {
puts stdout $result
} else {
error [appendArgs \
"could not import the package signing OpenPGP key(s): " \
|
| ︙ |