summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-29 00:34:58 +0000
committerMike Frysinger <vapier@gentoo.org>2011-05-29 00:34:58 +0000
commitec2a987173ab1d9338b73026d01d7509e203f856 (patch)
tree6984bf2790e269b36ce9d089537270a9ac14af13 /net-fs
parentVersion bump (diff)
downloadgentoo-2-ec2a987173ab1d9338b73026d01d7509e203f856.tar.gz
gentoo-2-ec2a987173ab1d9338b73026d01d7509e203f856.tar.bz2
gentoo-2-ec2a987173ab1d9338b73026d01d7509e203f856.zip
Make sure /var/lib/nfs exists before copying into it #368505 by William Throwe.
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/ChangeLog6
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild3
2 files changed, 7 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index 91b6075a533c..a67fea455139 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.181 2011/04/24 17:51:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.182 2011/05/29 00:34:58 vapier Exp $
+
+ 29 May 2011; Mike Frysinger <vapier@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
+ Make sure /var/lib/nfs exists before copying into it #368505 by William
+ Throwe.
24 Apr 2011; Raúl Porcel <armin76@gentoo.org> nfs-utils-1.2.3-r1.ebuild:
sparc stable wrt #358509
diff --git a/net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild b/net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild
index 2f1f505d726e..d98d6b0490e5 100644
--- a/net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 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.2.3-r1.ebuild,v 1.6 2011/04/24 17:51:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.3-r1.ebuild,v 1.7 2011/05/29 00:34:58 vapier Exp $
EAPI="2"
@@ -100,6 +100,7 @@ pkg_postinst() {
# src_install we put them in /usr/lib/nfs for safe-keeping, but
# the daemons actually use the files in /var/lib/nfs. #30486
local f
+ mkdir -p "${ROOT}"/var/lib/nfs #368505
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"