From e06e2ddd5512f0c07b77275c10244ec97893aebb Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Tue, 17 Apr 2007 09:43:15 +0000 Subject: Removed bash specific stuff. (Portage version: 2.1.2.4) --- media-plugins/vdr-weatherng/ChangeLog | 6 +++++- media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh | 6 +----- media-plugins/vdr-weatherng/files/rc-addon.sh | 10 +++------- 3 files changed, 9 insertions(+), 13 deletions(-) (limited to 'media-plugins') diff --git a/media-plugins/vdr-weatherng/ChangeLog b/media-plugins/vdr-weatherng/ChangeLog index 51b834d1ada1..96ae71d9972f 100644 --- a/media-plugins/vdr-weatherng/ChangeLog +++ b/media-plugins/vdr-weatherng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-weatherng # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.14 2007/04/05 20:02:46 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.15 2007/04/17 09:43:15 zzam Exp $ + + 17 Apr 2007; Matthias Schwarzott + files/rc-addon-0.0.8.sh, files/rc-addon.sh: + Removed bash specific stuff. 05 Apr 2007; Joerg Bornkessel vdr-weatherng-0.0.8_pre3.ebuild: diff --git a/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh index 14d63a425875..adf3a3b9334a 100644 --- a/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh +++ b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh @@ -1,4 +1,4 @@ -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh,v 1.1 2006/03/18 16:44:06 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh,v 1.2 2007/04/17 09:43:15 zzam Exp $ # # rc-addon-script for plugin weatherng # @@ -22,7 +22,3 @@ plugin_pre_vdr_start() { add_plugin_param "-S ${WEATHERNG_BIN_DIR}" } -# for compatibility -if [[ ${SCRIPT_API:-1} -lt 2 ]]; then - plugin_pre_vdr_start -fi diff --git a/media-plugins/vdr-weatherng/files/rc-addon.sh b/media-plugins/vdr-weatherng/files/rc-addon.sh index 518cbe9b4a66..c3fdb8f720a9 100644 --- a/media-plugins/vdr-weatherng/files/rc-addon.sh +++ b/media-plugins/vdr-weatherng/files/rc-addon.sh @@ -1,17 +1,13 @@ -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon.sh,v 1.1 2006/03/07 23:27:21 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon.sh,v 1.2 2007/04/17 09:43:15 zzam Exp $ # # rc-addon-script for plugin weatherng # plugin_pre_vdr_start() { - [[ -z "${WEATHERNG_IMAGE_DIR}" ]] && WEATHERNG_IMAGE_DIR="/usr/share/vdr/weatherng" + [ -z "${WEATHERNG_IMAGE_DIR}" ] && WEATHERNG_IMAGE_DIR="/usr/share/vdr/weatherng" add_plugin_param "-I ${WEATHERNG_IMAGE_DIR}" - [[ -z "${WEATHERNG_DATA_DIR}" ]] && WEATHERNG_DATA_DIR="/var/vdr/weatherng" + [ -z "${WEATHERNG_DATA_DIR}" ] && WEATHERNG_DATA_DIR="/var/vdr/weatherng" add_plugin_param "-D ${WEATHERNG_DATA_DIR}" } -# for compatibility -if [[ ${SCRIPT_API:-1} -lt 2 ]]; then - plugin_pre_vdr_start -fi -- cgit v1.2.3-65-gdbad