Commit e2ab582
authored
Avoid unreachable message for non-HTTP mirrors (#701)
When using a scheme for a mirror that is not HTTP, such as ftp:,
mirror:, or file:, mintupdate reports a message that the mirror cannot
be reached. In actuality, the mirror very well may be reachable but it
cannot check that using an HTTP request. Rather than trying to implement
support for all the protocols in sources.list(5), this skips the check
for any mirror_url that doesn't start with `http`.
ref: jmunixusers/cs-vm-build#4751 parent 497d89c commit e2ab582
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | | - | |
1082 | | - | |
| 1081 | + | |
| 1082 | + | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
| |||
0 commit comments