summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-04-17 09:46:20 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-04-17 09:46:20 +0000
commit3bda4a27a1c623517863e0899c863225feb99166 (patch)
tree972e48c98dd6deb782a06370e9426a8c7a7cad18
parentRemoved bash specific stuff. (diff)
downloadgentoo-2-3bda4a27a1c623517863e0899c863225feb99166.tar.gz
gentoo-2-3bda4a27a1c623517863e0899c863225feb99166.tar.bz2
gentoo-2-3bda4a27a1c623517863e0899c863225feb99166.zip
Removed bash specific stuff.
(Portage version: 2.1.2.4)
-rw-r--r--media-plugins/vdr-ffnetdev/ChangeLog5
-rw-r--r--media-plugins/vdr-ffnetdev/files/rc-addon.sh13
2 files changed, 8 insertions, 10 deletions
diff --git a/media-plugins/vdr-ffnetdev/ChangeLog b/media-plugins/vdr-ffnetdev/ChangeLog
index 516ca416fbb7..67058dcd1cb7 100644
--- a/media-plugins/vdr-ffnetdev/ChangeLog
+++ b/media-plugins/vdr-ffnetdev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-plugins/vdr-ffnetdev
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/ChangeLog,v 1.7 2007/02/17 01:18:30 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/ChangeLog,v 1.8 2007/04/17 09:46:20 zzam Exp $
+
+ 17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> files/rc-addon.sh:
+ Removed bash specific stuff.
17 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
vdr-ffnetdev-0.1.0.ebuild:
diff --git a/media-plugins/vdr-ffnetdev/files/rc-addon.sh b/media-plugins/vdr-ffnetdev/files/rc-addon.sh
index a14a9766c1b6..98ef31b5cf12 100644
--- a/media-plugins/vdr-ffnetdev/files/rc-addon.sh
+++ b/media-plugins/vdr-ffnetdev/files/rc-addon.sh
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/files/rc-addon.sh,v 1.1 2006/04/02 15:50:28 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/files/rc-addon.sh,v 1.2 2007/04/17 09:46:20 zzam Exp $
#
# rc-addon-script for plugin ffnetdev
#
@@ -9,14 +9,9 @@
plugin_pre_vdr_start() {
- [[ ${USE_VNC} == "yes" ]] && add_plugin_param "-o ${VNC_PORT}"
+ [ "${USE_VNC}" = "yes" ] && add_plugin_param "-o ${VNC_PORT}"
- [[ ${USE_TS} == "yes" ]] && add_plugin_param "-t ${TS_PORT}"
+ [ "${USE_TS}" = "yes" ] && add_plugin_param "-t ${TS_PORT}"
- [[ ${REMOTE} == "yes" ]] && add_plugin_param "-e"
+ [ "${REMOTE}" = "yes" ] && add_plugin_param "-e"
}
-
-# for compatibility
-if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
- plugin_pre_vdr_start
-fi \ No newline at end of file