Comment 2 for bug 116445

Revision history for this message
Julian Olivien (julianolivien) wrote : Re: software-properties-kde does not check if apt lines are valid

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)