diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 09:43:15 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-17 09:43:15 +0000 |
commit | e06e2ddd5512f0c07b77275c10244ec97893aebb (patch) | |
tree | 3dd05734c29c954c32ade170722810759ef57de4 /media-plugins/vdr-weatherng/files | |
parent | Updating java-utils-2.eclass with QA tests to check whether ebuild uses packa... (diff) | |
download | gentoo-2-e06e2ddd5512f0c07b77275c10244ec97893aebb.tar.gz gentoo-2-e06e2ddd5512f0c07b77275c10244ec97893aebb.tar.bz2 gentoo-2-e06e2ddd5512f0c07b77275c10244ec97893aebb.zip |
Removed bash specific stuff.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-plugins/vdr-weatherng/files')
-rw-r--r-- | media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh | 6 | ||||
-rw-r--r-- | media-plugins/vdr-weatherng/files/rc-addon.sh | 10 |
2 files changed, 4 insertions, 12 deletions
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 |