1 |
Replace the unnecessary path_exists calls with plain bash -f test. |
2 |
The path_exists function was only intended to be used when necessary |
3 |
to deal with wildcards. |
4 |
|
5 |
Closes: https://bugs.gentoo.org/662178 |
6 |
--- |
7 |
media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild | 2 +- |
8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9 |
|
10 |
diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild |
11 |
index 8639a6df48d1..6f324f6bcdc8 100644 |
12 |
--- a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild |
13 |
+++ b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild |
14 |
@@ -63,7 +63,7 @@ pkg_postinst() { |
15 |
einfo "Add a password to /etc/conf.d/vdr.vdrmanager" |
16 |
|
17 |
if use ssl ; then |
18 |
- if path_exists -a "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"; then |
19 |
+ if [[ -f ${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem ]]; then |
20 |
einfo "found an existing SSL cert, to create a new SSL cert, run:\n" |
21 |
einfo "emerge --config ${PN}" |
22 |
else |
23 |
-- |
24 |
2.18.0 |