diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-08-08 23:15:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-15 09:30:53 +0200 |
commit | 6120cd42a749a0872d22eb15cbc09fe98f92723e (patch) | |
tree | ed58add4da58db87bc65a6497bccfc037b4a5dad /media-plugins/vdr-vdrmanager | |
parent | media-plugins/vdr-live: Replace unnecessary path_exists calls (diff) | |
download | gentoo-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.ebuild | 2 |
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 |