diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 12:46:12 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 12:46:12 +0000 |
commit | df0195262d3e964019883656acf745d6643d4148 (patch) | |
tree | b696710349c4ab9ce2cf2fd175e7a1bfc3d881bb /media-plugins | |
parent | Removed bash specific stuff. (diff) | |
download | gentoo-2-df0195262d3e964019883656acf745d6643d4148.tar.gz gentoo-2-df0195262d3e964019883656acf745d6643d4148.tar.bz2 gentoo-2-df0195262d3e964019883656acf745d6643d4148.zip |
Removed bash specific stuff.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-osdteletext/ChangeLog | 5 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/files/rc-addon.sh | 13 |
2 files changed, 7 insertions, 11 deletions
diff --git a/media-plugins/vdr-osdteletext/ChangeLog b/media-plugins/vdr-osdteletext/ChangeLog index 5f096cb50a5f..4b02bc80ecc1 100644 --- a/media-plugins/vdr-osdteletext/ChangeLog +++ b/media-plugins/vdr-osdteletext/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-plugins/vdr-osdteletext # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/ChangeLog,v 1.8 2007/04/02 10:48:19 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/ChangeLog,v 1.9 2007/04/17 12:46:12 zzam Exp $ + + 17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> files/rc-addon.sh: + Removed bash specific stuff. *vdr-osdteletext-0.5.1-r1 (02 Apr 2007) diff --git a/media-plugins/vdr-osdteletext/files/rc-addon.sh b/media-plugins/vdr-osdteletext/files/rc-addon.sh index 62fbcfe6f602..bc8ba515c100 100644 --- a/media-plugins/vdr-osdteletext/files/rc-addon.sh +++ b/media-plugins/vdr-osdteletext/files/rc-addon.sh @@ -1,12 +1,10 @@ -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/files/rc-addon.sh,v 1.2 2006/09/28 11:27:38 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/files/rc-addon.sh,v 1.3 2007/04/17 12:46:12 zzam Exp $ # # rc-addon-script for plugin osdteletext # # Joerg Bornkessel <hd_brummy@gentoo.org> # Matthias Schwarzott <zzam@gentoo.org> -source /etc/conf.d/vdr.osdteletext - : ${OSDTELETEXT_TMPFS:=yes} : ${OSDTELETEXT_SIZE:=20} : ${OSDTELETEXT_DIR:=/var/cache/osdteletext} @@ -15,7 +13,7 @@ plugin_pre_vdr_start() { add_plugin_param "-d ${OSDTELETEXT_DIR}" add_plugin_param "-n ${OSDTELETEXT_SIZE}" - if [[ ${OSDTELETEXT_TMPFS} == yes ]]; then + if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then ## test on mountet TMPS if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then : @@ -27,15 +25,10 @@ plugin_pre_vdr_start() { } plugin_post_vdr_stop() { - if [[ ${OSDTELETEXT_TMPFS} == yes ]]; then + if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then einfo_level2 unmounting videotext dir ${OSDTELETEXT_DIR} /bin/umount ${OSDTELETEXT_DIR} fi fi } - -# for compatibility -if [[ ${SCRIPT_API:-1} -lt 2 ]]; then - plugin_pre_vdr_start -fi |