Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 3/5] net-vpn/openvpn: Remove unnecessary option switch to path_exists
Date: Thu, 09 Aug 2018 12:40:05
Message-Id: 5696bdf5-9df6-ab4c-9257-140d97d46dc5@gentoo.org
In Reply to: [gentoo-dev] [PATCH 3/5] net-vpn/openvpn: Remove unnecessary option switch to path_exists by "Michał Górny"
1 On 08/08/2018 05:34 PM, Michał Górny wrote:
2 >
3 > - if path_exists -o "${EROOT%/}"/etc/openvpn/*/local.conf ; then
4 > + if path_exists "${EROOT%/}"/etc/openvpn/*/local.conf ; then
5 > ewarn "WARNING: The openvpn init script has changed"
6 > ewarn ""
7 > fi
8
9 Not that this warning is at all helpful, but it's obsolete (the change
10 was over ten years ago). The whole "if" block can go.