Index: youtube-dl-2008.04.20.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2008.04.20.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 youtube-dl-2008.04.20.ebuild --- youtube-dl-2008.04.20.ebuild 27 May 2008 05:46:18 -0000 1.2 +++ youtube-dl-2008.04.20.ebuild 27 May 2008 06:02:27 -0000 @@ -19,6 +19,5 @@ } src_install() { - dobin "${DISTDIR}/${P}" - dosym "${P}" "/usr/bin/${PN}" + newbin "${DISTDIR}/${P}" ${PN} } Please consider committing this improvement.
We don't actually install two binaries; we install the one that the program ships with and create a symlink to it. I don't see why we should change this?
Skip that. Why do you want to install two executables?
Why not? I thought it'd be useful to have the executable available as upstream ships it.
But then you wouldn't need the symlink. :)
I'm not sure what you mean. This way, we have the executable as upstream ships it (youtube-dl-YYYY-MM-DD), plus a handly symlink that points to it (youtube-dl).
I guess you can learn about the version by issuing `youtube-dl -v`. I've incorporated your suggestion in the new version of youtube-dl, released a few days ago, but I don't think changing all previous ebuilds for something as cosmetic as that is worth it. Thanks!