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)
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)