diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-16 15:48:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-16 16:09:02 +0200 |
commit | 3c6725adb330e6ec772a5ac67b84d9f328f1af38 (patch) | |
tree | 4f8436cd3575748b1f817f844dfe7ee997706206 /net-vpn | |
parent | dev-python/patch: Add python3_6 (diff) | |
download | gentoo-3c6725adb330e6ec772a5ac67b84d9f328f1af38.tar.gz gentoo-3c6725adb330e6ec772a5ac67b84d9f328f1af38.tar.bz2 gentoo-3c6725adb330e6ec772a5ac67b84d9f328f1af38.zip |
net-vpn/openvpn: [QA] Fix use of path_exists
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/openvpn/openvpn-2.3.12.ebuild | 2 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-2.3.15.ebuild | 2 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-2.4.2.ebuild | 2 | ||||
-rw-r--r-- | net-vpn/openvpn/openvpn-9999.ebuild | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/net-vpn/openvpn/openvpn-2.3.12.ebuild b/net-vpn/openvpn/openvpn-2.3.12.ebuild index a537ed2b3032..f19a6f163287 100644 --- a/net-vpn/openvpn/openvpn-2.3.12.ebuild +++ b/net-vpn/openvpn/openvpn-2.3.12.ebuild @@ -99,7 +99,7 @@ pkg_postinst() { enewgroup openvpn enewuser openvpn "" "" "" openvpn - if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then + if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then ewarn "WARNING: The openvpn init script has changed" ewarn "" fi diff --git a/net-vpn/openvpn/openvpn-2.3.15.ebuild b/net-vpn/openvpn/openvpn-2.3.15.ebuild index 561522d7e4d0..9ad833e7b9bc 100644 --- a/net-vpn/openvpn/openvpn-2.3.15.ebuild +++ b/net-vpn/openvpn/openvpn-2.3.15.ebuild @@ -99,7 +99,7 @@ pkg_postinst() { enewgroup openvpn enewuser openvpn "" "" "" openvpn - if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then + if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then ewarn "WARNING: The openvpn init script has changed" ewarn "" fi diff --git a/net-vpn/openvpn/openvpn-2.4.2.ebuild b/net-vpn/openvpn/openvpn-2.4.2.ebuild index 80a744f283b3..661fd3e3127f 100644 --- a/net-vpn/openvpn/openvpn-2.4.2.ebuild +++ b/net-vpn/openvpn/openvpn-2.4.2.ebuild @@ -123,7 +123,7 @@ pkg_postinst() { enewgroup openvpn enewuser openvpn "" "" "" openvpn - if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then + if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then ewarn "WARNING: The openvpn init script has changed" ewarn "" fi diff --git a/net-vpn/openvpn/openvpn-9999.ebuild b/net-vpn/openvpn/openvpn-9999.ebuild index 398cf8fad2ad..be066f67cb9e 100644 --- a/net-vpn/openvpn/openvpn-9999.ebuild +++ b/net-vpn/openvpn/openvpn-9999.ebuild @@ -122,7 +122,7 @@ pkg_postinst() { enewgroup openvpn enewuser openvpn "" "" "" openvpn - if [ path_exists -o "${ROOT}/etc/openvpn/*/local.conf" ] ; then + if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then ewarn "WARNING: The openvpn init script has changed" ewarn "" fi |