diff options
Diffstat (limited to 'net-fs/nfs-utils/nfs-utils-1.0.9.ebuild')
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-1.0.9.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild index ccd2c516ca36..7a2e605d4d2d 100644 --- a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild +++ b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild,v 1.3 2006/07/20 02:07:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild,v 1.4 2006/08/09 02:23:35 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic multilib DESCRIPTION="NFS client and server daemons" HOMEPAGE="http://nfs.sourceforge.net/" @@ -96,9 +96,9 @@ pkg_postinst() { # the daemons actually use the files in /var/lib/nfs. This fixes # bug 30486 local f - for f in "${ROOT}"/usr/lib/nfs/*; do - [[ -f ${ROOT}/var/lib/nfs/${f##*/} ]] && continue - einfo "Copying default ${f##*/} from /usr/lib/nfs to /var/lib/nfs" - cp -pPR ${f} "${ROOT}"/var/lib/nfs/ + for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do + [[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue + einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs" + cp -pPR "${f}" "${ROOT}"/var/lib/nfs/ done } |