summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-08 23:15:24 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-15 09:30:53 +0200
commit6120cd42a749a0872d22eb15cbc09fe98f92723e (patch)
treeed58add4da58db87bc65a6497bccfc037b4a5dad /media-plugins/vdr-vdrmanager
parentmedia-plugins/vdr-live: Replace unnecessary path_exists calls (diff)
downloadgentoo-6120cd42a749a0872d22eb15cbc09fe98f92723e.tar.gz
gentoo-6120cd42a749a0872d22eb15cbc09fe98f92723e.tar.bz2
gentoo-6120cd42a749a0872d22eb15cbc09fe98f92723e.zip
media-plugins/vdr-vdrmanager: Replace unnecessary path_exists call
Replace the unnecessary path_exists calls with plain bash -f test. The path_exists function was only intended to be used when necessary to deal with wildcards. Closes: https://bugs.gentoo.org/662178
Diffstat (limited to 'media-plugins/vdr-vdrmanager')
-rw-r--r--media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild
index 8639a6df48d1..6f324f6bcdc8 100644
--- a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild
+++ b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.14.ebuild
@@ -63,7 +63,7 @@ pkg_postinst() {
einfo "Add a password to /etc/conf.d/vdr.vdrmanager"
if use ssl ; then
- if path_exists -a "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"; then
+ if [[ -f ${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem ]]; then
einfo "found an existing SSL cert, to create a new SSL cert, run:\n"
einfo "emerge --config ${PN}"
else