url-lib: don't add existing handlers multiple times
authorWill Woods <wwoods@redhat.com>
Fri, 20 Apr 2012 20:20:24 +0000 (16:20 -0400)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Apr 2012 09:25:20 +0000 (11:25 +0200)
commitc6a91ec9928f7f09dd70ad597bf96ac60f6b652d
treeafe04c01e6f91d16852dfbdedd545ac116a2d55b
parent689c3e1fcd0fff7ae978d0543fa980272f89dff2
url-lib: don't add existing handlers multiple times

Every time url-lib gets imported we end up making the list of handlers
longer with redundant entries. That's silly - we shouldn't add items
that already exist.

Note that this means you'll have to manipulate the handler list yourself
if you want to change the position/priority of existing handlers.
modules.d/45url-lib/url-lib.sh