aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--usr/share/vdr/inc/plugin-functions.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 07ae8fe..ca7e6b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
# $Id$
06 Jul 2008; Matthias Schwarzott <zzam@gentoo.org>
+ usr/share/vdr/inc/plugin-functions.sh:
+ Rename variable.
+
+ 06 Jul 2008; Matthias Schwarzott <zzam@gentoo.org>
usr/share/vdr/shutdown/pre-shutdown-05-time-calculations.sh,
usr/share/vdr/shutdown/pre-shutdown-10-check-enabled.sh,
usr/share/vdr/rcscript/pre-start-10-chuid.sh,
diff --git a/usr/share/vdr/inc/plugin-functions.sh b/usr/share/vdr/inc/plugin-functions.sh
index fc7dc24..11c5859 100644
--- a/usr/share/vdr/inc/plugin-functions.sh
+++ b/usr/share/vdr/inc/plugin-functions.sh
@@ -84,9 +84,9 @@ prepare_plugin_checks() {
vdr_checksum_dir="${plugin_dir%/plugins}/checksums"
vdr_checksum="${PL_TMP}"/header-md5-vdr
- PLUGIN_CHECK_MD5=false
+ _PLUGIN_CHECK_HEADER=false
if yesno "${PLUGIN_CHECK_PATCHLEVEL:-yes}"; then
- vdr-get-header-checksum > "${vdr_checksum}" && PLUGIN_CHECK_MD5=true
+ vdr-get-header-checksum > "${vdr_checksum}" && _PLUGIN_CHECK_HEADER=true
fi
}
@@ -100,7 +100,7 @@ check_plugin() {
fi
local plugin_checksum_file=${vdr_checksum_dir}/header-md5-vdr-${PLUGIN}
- if ${PLUGIN_CHECK_MD5} && [ -e "${plugin_checksum_file}" ]; then
+ if ${_PLUGIN_CHECK_HEADER} && [ -e "${plugin_checksum_file}" ]; then
if ! cmp -s ${vdr_checksum} ${plugin_checksum_file}; then
skip_plugin "${PLUGIN}" "PATCHLEVEL"
return 1