summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-10-19 07:32:37 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-10-19 07:32:37 +0000
commit52c9bcdc15463dbbdf22fd34888fe57730377a55 (patch)
tree4b0c9d88635a8a3ff9d1b0e5fbf2aa0b6086d814 /net-misc
parentadded missing dep, bug #340279 (diff)
downloadgentoo-2-52c9bcdc15463dbbdf22fd34888fe57730377a55.tar.gz
gentoo-2-52c9bcdc15463dbbdf22fd34888fe57730377a55.tar.bz2
gentoo-2-52c9bcdc15463dbbdf22fd34888fe57730377a55.zip
Update ebuild to use new path_exists function.
(Portage version: 2.1.9.19/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openvpn/ChangeLog5
-rw-r--r--net-misc/openvpn/openvpn-2.1.3.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/openvpn/ChangeLog b/net-misc/openvpn/ChangeLog
index 62043202e16f..9984a6ff9c6a 100644
--- a/net-misc/openvpn/ChangeLog
+++ b/net-misc/openvpn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/openvpn
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.193 2010/10/19 02:23:27 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/ChangeLog,v 1.194 2010/10/19 07:32:37 djc Exp $
+
+ 19 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> openvpn-2.1.3.ebuild:
+ Update ebuild to use new path_exists function.
19 Oct 2010; Jeroen Roovers <jer@gentoo.org> openvpn-2.1.2.ebuild:
Stable for HPPA (bug #338919).
diff --git a/net-misc/openvpn/openvpn-2.1.3.ebuild b/net-misc/openvpn/openvpn-2.1.3.ebuild
index 5d40a0c69d7d..d10e479f2464 100644
--- a/net-misc/openvpn/openvpn-2.1.3.ebuild
+++ b/net-misc/openvpn/openvpn-2.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.1.3.ebuild,v 1.2 2010/10/12 20:06:59 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.1.3.ebuild,v 1.3 2010/10/19 07:32:37 djc Exp $
EAPI=2
@@ -133,7 +133,7 @@ pkg_postinst() {
enewgroup openvpn
enewuser openvpn "" "" "" openvpn
- if [[ -n $(ls ${ROOT}/etc/openvpn/*/local.conf 2>/dev/null) ]] ; then
+ if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then
ewarn "WARNING: The openvpn init script has changed"
ewarn ""
fi