summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-04-17 12:49:32 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-04-17 12:49:32 +0000
commita6e37e73d14ca0a6ae174a8790584c6a30e3ba54 (patch)
treefefe2b97ba752eb08c07661bf0b9f4512d2f226a /media-plugins/vdr-bitstreamout/files
parentRemoved bash specific stuff. (diff)
downloadgentoo-2-a6e37e73d14ca0a6ae174a8790584c6a30e3ba54.tar.gz
gentoo-2-a6e37e73d14ca0a6ae174a8790584c6a30e3ba54.tar.bz2
gentoo-2-a6e37e73d14ca0a6ae174a8790584c6a30e3ba54.zip
Removed bash specific stuff.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-plugins/vdr-bitstreamout/files')
-rwxr-xr-xmedia-plugins/vdr-bitstreamout/files/rc-addon.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-plugins/vdr-bitstreamout/files/rc-addon.sh b/media-plugins/vdr-bitstreamout/files/rc-addon.sh
index 38e34ad6ee91..8809f4b22ae8 100755
--- a/media-plugins/vdr-bitstreamout/files/rc-addon.sh
+++ b/media-plugins/vdr-bitstreamout/files/rc-addon.sh
@@ -1,15 +1,15 @@
# plugin-startup-skript for bitstreamout-plugin
plugin_pre_vdr_start() {
- if [[ -n "${BITSTREAMOUT_MUTE}" ]]; then
+ if [ -n "${BITSTREAMOUT_MUTE}" ]; then
local mydir=/usr/share/vdr/bitstreamout
- if [[ ${BITSTREAMOUT_MUTE:0:1} != "/" ]] && [[ -x ${mydir}/mute_${BITSTREAMOUT_MUTE}.sh ]]; then
+ if [ -x ${mydir}/mute_${BITSTREAMOUT_MUTE}.sh ]; then
BITSTREAMOUT_MUTE=${mydir}/mute_${BITSTREAMOUT_MUTE}.sh
fi
- if [[ -x ${BITSTREAMOUT_MUTE} ]]; then
+ if [ -x "${BITSTREAMOUT_MUTE}" ]; then
add_plugin_param "--mute=${BITSTREAMOUT_MUTE}"
else
einfo " bitstreamout: ${BITSTREAMOUT_MUTE} is not executable"