no, not really, but two ideas come into my mind: 1. check if the line has three spaces, if the first word is deb or deb- src and if the second word is a url. (may not fix any case)
2. find out on what basis apt-get update decides if it throws out an error about a malformed sources.list (should fix every possible problem) -- software-properties-kde does not check if apt lines are valid https://bugs.launchpad.net/bugs/116445 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs