X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/cfacba5230f2e6bb88a1949505843ac22ed342d5..575fe03ee310c740bfa2950aa55b3358e8a60eee:/cmdline/apt.cc?ds=sidebyside diff --git a/cmdline/apt.cc b/cmdline/apt.cc index ef31d0029..4bcae0aba 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -41,6 +41,7 @@ #include #include #include +#include #include @@ -55,25 +56,9 @@ #include #include #include +#include /*}}}*/ -// 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; -} - /*}}}*/ bool ShowHelp(CommandLine &CmdL)