summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-08 23:14:05 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-15 09:30:53 +0200
commit6b861b6f5df522ec7e662150d3c6b9f213a5ef18 (patch)
treecc3a088f3cda5f421769fc4947c98bef6981fa23 /media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild
parentdev-util/sysdig: Bump to 0.23.1 (bugfixes) (diff)
downloadgentoo-6b861b6f5df522ec7e662150d3c6b9f213a5ef18.tar.gz
gentoo-6b861b6f5df522ec7e662150d3c6b9f213a5ef18.tar.bz2
gentoo-6b861b6f5df522ec7e662150d3c6b9f213a5ef18.zip
media-plugins/vdr-live: Replace unnecessary path_exists calls
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. Bug: https://bugs.gentoo.org/662178
Diffstat (limited to 'media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild')
-rw-r--r--media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild
index 6041faafd99e..24ec6897b14f 100644
--- a/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild
+++ b/media-plugins/vdr-live/vdr-live-0.3.0_p20130504-r1.ebuild
@@ -90,7 +90,7 @@ pkg_postinst() {
elog "\tadmin:live"
if use ssl ; then
- if path_exists -a "${ROOT}"/etc/vdr/plugins/live/live.pem; then
+ if [[ -f ${ROOT}/etc/vdr/plugins/live/live.pem ]]; then
einfo "found an existing SSL cert, to create a new SSL cert, run:\n"
einfo "emerge --config ${PN}"
else