Overview
Comment: | More fixes to the 'probeForOpenPgpInstallation' procedure. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | pending |
Files: | files | file ages | folders |
SHA1: |
3982962147646498740ffa00fe335282 |
User & Date: | mistachkin on 2020-03-24 23:46:42 |
Other Links: | branch diff | manifest | tags |
Context
2020-03-25
| ||
17:14 | By default, prevent the 'getPackageFile' procedure from returning the content of a Fossil error page. check-in: 778b91ce22 user: mistachkin tags: pending | |
2020-03-24
| ||
23:46 | More fixes to the 'probeForOpenPgpInstallation' procedure. check-in: 3982962147 user: mistachkin tags: pending | |
23:23 | The 'probeForOpenPgpInstallation' procedure should check all names in 'openPgpFileNamesOnly'. Also, the 'probeForOpenPgpInstallation' procedure should recognize the new directory layout used by Windows GPG installations. The 'setupRepositoryOpenPgpVars' procedure should honor its 'force' argument. check-in: 071382dcf8 user: mistachkin tags: pending | |
Changes
Modified client/1.0/neutral/pkgr.eagle from [03e073f23d] to [dd293526a1].
︙ | |||
452 453 454 455 456 457 458 459 460 461 462 463 464 465 | 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 | + + + + + | } if {[file isdirectory $subDirectory]} then { foreach fileNameOnly $openPgpFileNamesOnly { set fileName [file join $subDirectory $fileNameOnly] if {[file exists $fileName] && [file isfile $fileName]} then { pkgLog [appendArgs \ "the OpenPGP directory is being initialized to \"" \ $subDirectory "\" based on OpenPGP file name \"" \ $fileNameOnly \"] return [addToPath $subDirectory] } } } } return false |
︙ | |||
487 488 489 490 491 492 493 | 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 | - + | Alternatively, it may be possible to install GNU Privacy Guard (GPG) via the package management subsystem included with your operating system. } set found false |
︙ | |||
513 514 515 516 517 518 519 | 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 | - + - + - + + + + + - + | # viable OpenPGP file name? # if {[info exists openPgpFileNameOnly]} then { # # NOTE: If the OpenPGP file name that we found before (?) does not # match what we already have, issue a log message. # |
︙ | |||
2305 2306 2307 2308 2309 2310 2311 | 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 | - + | # sub-directory is relative to the "Program Files" directory. # variable openPgpInstalledDirectories; # DEFAULT: [list ...] if {$force || ![info exists openPgpInstalledDirectories]} then { if {[isWindows]} then { set openPgpInstalledDirectories [list \ |
︙ | |||
2364 2365 2366 2367 2368 2369 2370 | 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 | - + | # NOTE: The command to use when attempting to verify that OpenPGP is # installed locally. This must be configured according to the # implementation of OpenPGP in use. # variable openPgpInstalledCommand; # DEFAULT: gpg2 --version --homedir {} if {$force || ![info exists openPgpInstalledCommand]} then { |
︙ |