|
|
@ -338,7 +338,9 @@ int main(int argc, char* argv[]) {
|
|
|
|
|
|
|
|
|
|
|
|
auto ubuntu_opt = lp->distributions["ubuntu"];
|
|
|
|
auto ubuntu_opt = lp->distributions["ubuntu"];
|
|
|
|
distribution ubuntu = ubuntu_opt.value();
|
|
|
|
distribution ubuntu = ubuntu_opt.value();
|
|
|
|
auto ds_opt = ubuntu.current_series;
|
|
|
|
// FIXME
|
|
|
|
|
|
|
|
//auto ds_opt = ubuntu.current_series;
|
|
|
|
|
|
|
|
auto ds_opt = ubuntu.getSeries("plucky");
|
|
|
|
if (!ds_opt) {
|
|
|
|
if (!ds_opt) {
|
|
|
|
std::cerr << "Failed to get current_series.\n";
|
|
|
|
std::cerr << "Failed to get current_series.\n";
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|