summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-04-17 12:44:48 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-04-17 12:44:48 +0000
commit810a5751a2c035110fc0ee0c32723d169255964b (patch)
treee5d7d971c878d0a212b7f8db8aa8d0f5199413c8 /media-plugins/vdr-skinsoppalusikka/files
parentRemoved bash specific stuff. (diff)
downloadgentoo-2-810a5751a2c035110fc0ee0c32723d169255964b.tar.gz
gentoo-2-810a5751a2c035110fc0ee0c32723d169255964b.tar.bz2
gentoo-2-810a5751a2c035110fc0ee0c32723d169255964b.zip
Removed bash specific stuff.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-plugins/vdr-skinsoppalusikka/files')
-rw-r--r--media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh b/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh
index 314c37cd5856..64b58d61c04d 100644
--- a/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh
+++ b/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh,v 1.2 2006/09/29 21:51:58 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinsoppalusikka/files/rc-addon-1.0.2.sh,v 1.3 2007/04/17 12:44:48 zzam Exp $
#
# rc-addon plugin-startup-skript for vdr-skinsoppalusikka
#
@@ -9,7 +9,7 @@
plugin_pre_vdr_start() {
- if [[ ${PLUGINS} != ${PLUGINS/dxr3/} ]] ; then
+ if [ "${PLUGINS}" != "${PLUGINS#*dxr3}" ] ; then
: ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/skinsoppalusikka/logos-dxr3}
else
: ${SKINSOPPALUSIKKA_LOGOS_DIR:=/usr/share/vdr/channel-logos}
@@ -18,9 +18,3 @@ plugin_pre_vdr_start() {
add_plugin_param "-l ${SKINSOPPALUSIKKA_LOGOS_DIR}"
}
-
-# for compatibility
-if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
- plugin_pre_vdr_start
-fi
-