|
Lines 1494-1503
Link Here
|
| 1494 |
// the type is not specified or is wrong, autoprobe the type |
1494 |
// the type is not specified or is wrong, autoprobe the type |
| 1495 |
if (repotype == zypp::repo::RepoType::NONE) |
1495 |
if (repotype == zypp::repo::RepoType::NONE) |
| 1496 |
{ |
1496 |
{ |
| 1497 |
y2milestone("Probing source type: '%s'", url.asString().c_str()); |
1497 |
zypp::Url probe_url(url_r); |
|
|
1498 |
probe_url.setPathName(path_r); |
| 1499 |
y2milestone("Probing source type: '%s'", probe_url.asString().c_str()); |
| 1498 |
|
1500 |
|
| 1499 |
// autoprobe type of the repository |
1501 |
// autoprobe type of the repository |
| 1500 |
repotype = ProbeWithCallbacks(url); |
1502 |
repotype = ProbeWithCallbacks(probe_url); |
| 1501 |
} |
1503 |
} |
| 1502 |
|
1504 |
|
| 1503 |
y2milestone("Using source type: %s", repotype.asString().c_str()); |
1505 |
y2milestone("Using source type: %s", repotype.asString().c_str()); |