1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
|
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
|
+
+
|
# downloaded, i.e. because it is not required for the downloading
# process itself to be functional, etc. The package argument is
# the name of the package to check.
#
proc canDownloadPackage { package } {
variable verboseUnknownResult
#
# NOTE: Since all the functionality needed by this package is built-in
# to Eagle, there are no download restrictions when it is being
# used.
#
|
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
|
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
|
+
+
+
+
+
+
+
+
+
+
|
# the custom [package unknown] itself, in order to locate and
# download the requested package, we must return false here to
# prevent needless recursion.
#
if {[lsearch -exact [list http tls] $package] != -1} then {
#
# NOTE: Emit a diagnostic message as this is a relatively rare and
# fairly serious issue.
#
if {$verboseUnknownResult} then {
pkgLog [appendArgs \
"cannot download package \"" $package \
"\", because it is needed in order to enable downloads"]
}
return false
}
#
# NOTE: Currently, all other packages, including Garuda, are legal to
|