summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-09 02:23:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-09 02:23:35 +0000
commit33cb389a633d7fa03fbd1948ccb38fb68af6ae98 (patch)
tree6124c0829c8c2e38fe75993502d387bf3b7f61ca /net-fs
parentsearch $PORTAGE_CONFIGROOT before $ROT as pointed out by Jac Goudsmit #141640 (diff)
downloadgentoo-2-33cb389a633d7fa03fbd1948ccb38fb68af6ae98.tar.gz
gentoo-2-33cb389a633d7fa03fbd1948ccb38fb68af6ae98.tar.bz2
gentoo-2-33cb389a633d7fa03fbd1948ccb38fb68af6ae98.zip
touchup pkg_postinst() install for /var/lib/nfs
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.0.9.ebuild12
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
}