Hi,
If someone can
suggest a better way than how I'm doing it now, I'm all ears, because I hate
this patch[0].
I think the solution you came up with from this thread is okay as a
downstream hack, but I think a better solution would be to get
upstream to ask apt at built time where to put methods. It seems apt
has an "apt-config" binary for this:
$ apt-config dump |grep Dir::Bin::methods
Dir::Bin::methods "/usr/lib64/apt/methods";
So there's no reason this needs to be hardcoded at all.
Even better would be if apt would ship this information in it's
pkgconfig file, then it could be queried using pkg-config.
--Ray