Thanks Jamie, Does this new patch address your concerns? Instead of hard-coding the type, distro, components, etc. it extracts them back out of the SourceEntry object. Nick
** Patch added: "simple patch to SoftwareProperties.py to make add_source_from_line idempotent" https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/854841/+attachment/2630432/+files/SoftwareProperties.py.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/854841 Title: add-apt-repository will write duplicate entries to /etc/apt/sources.list To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/854841/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
