summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-02 00:40:13 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-02 00:40:13 +0000
commit273d1bfc9e46300b9250727fab8c687e46414a15 (patch)
tree8112db25f34440874a71b5862fb84f0b6c63b617 /net-fs
parentUpdate (diff)
downloadhistorical-273d1bfc9e46300b9250727fab8c687e46414a15.tar.gz
historical-273d1bfc9e46300b9250727fab8c687e46414a15.tar.bz2
historical-273d1bfc9e46300b9250727fab8c687e46414a15.zip
dont install stupid exports if one exists
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/Manifest2
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild8
2 files changed, 8 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/Manifest b/net-fs/nfs-utils/Manifest
index 3433b986c431..f0b5f148b104 100644
--- a/net-fs/nfs-utils/Manifest
+++ b/net-fs/nfs-utils/Manifest
@@ -1,7 +1,7 @@
MD5 d936fb702a6c1c6eb8308ea856e6c5e5 ChangeLog 10273
MD5 9cee4adcef8a47ea4ee35090f7f89b0a metadata.xml 225
MD5 a5785bca6bda4d00aabdc28e36802df1 nfs-utils-1.0.6-r6.ebuild 2926
-MD5 53cd70279b54cbe55e0264825e8601ba nfs-utils-1.0.7-r1.ebuild 2978
+MD5 1979f1d107c88c937983b05c3965dbf3 nfs-utils-1.0.7-r1.ebuild 3072
MD5 21621dd473ef1b9bf3d4fdde0b738c51 files/nfs 5964
MD5 a02eed87e5d581e56feb0f6dfd18e6df files/exports 66
MD5 1892989b0c12f8b6c533a8c6adfb90ff files/nfs.confd 577
diff --git a/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
index ccbb15defd06..eeb7726d0e89 100644
--- a/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.7-r1.ebuild,v 1.4 2005/04/09 03:12:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild,v 1.5 2005/06/02 00:40:13 vapier Exp $
inherit gnuconfig eutils flag-o-matic
@@ -89,6 +89,12 @@ src_install() {
newconfd "${FILESDIR}"/nfs.confd nfs
}
+pkg_preinst() {
+ if [[ -s ${ROOT}/etc/exports ]] ; then
+ rm -f "${IMAGE}"/etc/exports
+ fi
+}
+
pkg_postinst() {
# Install default xtab and friends if there's none existing.
# In src_install we put them in /usr/lib/nfs for safe-keeping, but