Check-in [7e9a724b58]
Not logged in
Overview
Comment:Unless the '-overwrite' option is specificed, skip downloading persistent files that already exist.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | overwrite
Files: files | file ages | folders
SHA1: 7e9a724b580f0bf0d2274118717f6889ecc8abfe
User & Date: mistachkin on 2017-08-11 20:03:29
Other Links: branch diff | manifest | tags
Context
2017-08-15
15:46
Unless the '-overwrite' option is specificed, skip downloading persistent files that already exist. check-in: e4d6fd9866 user: mistachkin tags: trunk
2017-08-11
20:03
Unless the '-overwrite' option is specificed, skip downloading persistent files that already exist. Closed-Leaf check-in: 7e9a724b58 user: mistachkin tags: overwrite
2017-08-10
17:46
Improvements to the OpenPGP (e.g. GPG) integration. check-in: 9c00913b70 user: mistachkin tags: trunk
Changes

Modified client/1.0/neutral/pkgd.eagle from [50eb9c028d] to [79c1d13e80].

1656
1657
1658
1659
1660
1661
1662



1663
1664
1665
1666
1667
1668
1669
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672







+
+
+







      verifyPersistentRootDirectory
      set persistentDirectory $persistentRootDirectory
    }

    set persistent [string is true -strict \
        [getDictionaryValue $options -persistent]]

    set overwrite [string is true -strict \
        [getDictionaryValue $options -overwrite]]

    set usePgp [string is true -strict \
        [getDictionaryValue $options -usePgp]]

    set useAutoPath [string is true -strict \
        [getDictionaryValue $options -useAutoPath]]

    set allowUpdate [string is true -strict \
1697
1698
1699
1700
1701
1702
1703











1704
1705
1706
1707
1708
1709
1710
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724







+
+
+
+
+
+
+
+
+
+
+







          $directory(temporary) $fileNameOnly]]

      if {[file exists $downloadFileName]} then {
        error [appendArgs \
            "temporary file name \"" $downloadFileName \
            "\" already exists"]
      }

      if {$persistent || $viaInstall} then {
        if {!$overwrite} then {
          set persistentFileName [file normalize [file join \
              $directory(persistent) $fileNameOnly]]

          if {[file exists $persistentFileName]} then {
            continue
          }
        }
      }

      file mkdir [file dirname $downloadFileName]

      downloadOneFile $language $version $platform \
          $fileName $downloadFileName $usePgp

      lappend downloadedFileNames [list \