aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-16 00:45:46 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-16 00:45:46 +0100
commit69d7aebabe305ca69665b9e36add62c948cce5f4 (patch)
treee60d45a2fa119910b2574e090a745206385f7fe8 /usr
parentBumped to version 2.0.0_rc1 (diff)
downloadgentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.tar.gz
gentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.tar.bz2
gentoo-vdr-scripts-69d7aebabe305ca69665b9e36add62c948cce5f4.zip
better default handling for value EPGFILE, thx to sirwio@vdr-portal.de on #post 1132342
Diffstat (limited to 'usr')
-rw-r--r--usr/share/vdr/rcscript/pre-start-30-parameter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/share/vdr/rcscript/pre-start-30-parameter.sh b/usr/share/vdr/rcscript/pre-start-30-parameter.sh
index a142ace..63ee1c1 100644
--- a/usr/share/vdr/rcscript/pre-start-30-parameter.sh
+++ b/usr/share/vdr/rcscript/pre-start-30-parameter.sh
@@ -12,7 +12,7 @@ addon_main() {
yesno "${MUTE}" && add_param "--mute"
[ -n "${CONFIG}" ] && add_param "--config=${CONFIG}"
[ -n "${DEVICE}" ] && for i in ${DEVICE}; do add_param "--device=${i}"; done
- add_param "--epgfile=${EPGFILE:--E-}"
+ [ -n "${EPGFILE}" ] && add_param "--epgfile=${EPGFILE}"
add_param "--cachedir=${CACHEDIR:-/var/cache/vdr}"
add_param "--log=${LOG:-1}"
[ -z "${VIDEO}" ] && VIDEO="/var/vdr/video"