[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674100: apt: apt-cdrom add generates broken cdroms.list



David Kalnischkies wrote:
Hi Milan Kupcevic,

On Wed, Jun 6, 2012 at 5:47 AM, Milan Kupcevic
<milan@physics.harvard.edu> wrote:
Reverting the change and recompiling the package brings apt-cdrom add
functionality back.

Patch reverting the puzzling change is attached.

Thanks for the patch, but i would prefer if we are not reverting this
change as this duplication of code is very annoying and
just asks for silly mistakes (like this one).

I am a bit low on time and lack the testing environment currently
(i don't even have a cd handy at the momentÂ…), so could you maybe
try if the following change would be correct:

-   _config->Dump(Out, NULL, "%f \"%v\";\n", false);
+   Cnf.Dump(Out, NULL, "%f \"%v\";\n", false);

I just tested it. This solution works.

M





Reply to: