| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.16.ebuild,v 1.9 2012/07/08 16:35:07 armin76 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-process/psmisc/psmisc-22.16.ebuild,v 1.10 2012/08/25 22:33:18 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | inherit eutils |
7 | inherit eutils |
| 8 | |
8 | |
| … | |
… | |
| 50 | [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd |
50 | [[ -s ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/bin/peekfd |
| 51 | [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 |
51 | [[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1 |
| 52 | |
52 | |
| 53 | # fuser is needed by init.d scripts |
53 | # fuser is needed by init.d scripts |
| 54 | dodir /bin |
54 | dodir /bin |
| 55 | mv -vf "${ED}"/usr/bin/fuser "${ED}"/bin || die |
55 | mv "${ED}"/usr/bin/fuser "${ED}"/bin || die |
| 56 | } |
56 | } |