debops / ansible-apt

Configure and manage APT Package Manager
GNU General Public License v3.0
10 stars 15 forks source link

Detect if sources are almost identical #79

Open ypid opened 8 years ago

ypid commented 8 years ago

Example:

deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

I guess / at the end or not could be detected.

drybjed commented 8 years ago

I suppose, although I'm not sure if entries ending with / in sources.list make APT behave differently, ie. a simple repository vs a reprepro-like repository layout.

ypid commented 8 years ago

Good point. That would be the question.