-// EditSource - EditSourcesList /*{{{*/
-// ---------------------------------------------------------------------
-bool EditSources(CommandLine &CmdL)
-{
- // FIXME: suport CmdL.FileList to specify sources.list.d files
-
- std::string sourceslist = _config->FindFile("Dir::Etc::sourcelist");
-
- // FIXME: take hash before,
- // when changed display message to apt update
- // do syntax check after save (like visudo)
-
- EditFileInSensibleEditor(sourceslist);
-
- return true;
-}
- /*}}}*/