diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 12:50:07 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 12:50:07 +0000 |
commit | 46ca3daa8577cc7d8007fd14218701ac407bd974 (patch) | |
tree | 581c39d1f3e288e8f87e4c084413fc21daeed3c2 /media-plugins/vdr-osdteletext | |
parent | old version wipe. added curl-7.16 compitable version and limited the previous... (diff) | |
download | historical-46ca3daa8577cc7d8007fd14218701ac407bd974.tar.gz historical-46ca3daa8577cc7d8007fd14218701ac407bd974.tar.bz2 historical-46ca3daa8577cc7d8007fd14218701ac407bd974.zip |
Removed bash specific stuff.
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'media-plugins/vdr-osdteletext')
-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 |