r4124 - vdr/vdr/trunk/debian

Tobias Grimm tiber-guest at alioth.debian.org
Wed Jan 24 18:59:47 CET 2007


Author: tiber-guest
Date: 2007-01-24 18:59:46 +0100 (Wed, 24 Jan 2007)
New Revision: 4124

Modified:
   vdr/vdr/trunk/debian/changelog
   vdr/vdr/trunk/debian/commands-loader.sh
   vdr/vdr/trunk/debian/extract-patchinfo
   vdr/vdr/trunk/debian/plugin-loader.sh
Log:
* Replaced "==" in shell scripts with "=" for compatibility reasons
  (reported by J?\195?\131?\194?\182rg (Kano) Schirottke)

Modified: vdr/vdr/trunk/debian/changelog
===================================================================
--- vdr/vdr/trunk/debian/changelog	2007-01-22 23:06:20 UTC (rev 4123)
+++ vdr/vdr/trunk/debian/changelog	2007-01-24 17:59:46 UTC (rev 4124)
@@ -9,8 +9,10 @@
     was the default behaviour when KEYB_TTY was specified. Now it's optional
     and disabled by default.
   * Added opt-50_graphtft.dpatch, required by the graphtft plugin version 0.0.15
+  * Replaced "==" in shell scripts with "=" for compatibility reasons
+    (reported by Jörg (Kano) Schirottke)
 
- -- Tobias Grimm <tg at e-tobi.net>  Sat, 20 Jan 2007 01:38:33 +0100
+ -- Tobias Grimm <tg at e-tobi.net>  Wed, 24 Jan 2007 18:55:42 +0100
 
 vdr (1.4.5-1) experimental; urgency=low
 

Modified: vdr/vdr/trunk/debian/commands-loader.sh
===================================================================
--- vdr/vdr/trunk/debian/commands-loader.sh	2007-01-22 23:06:20 UTC (rev 4123)
+++ vdr/vdr/trunk/debian/commands-loader.sh	2007-01-24 17:59:46 UTC (rev 4124)
@@ -35,12 +35,12 @@
     # first the ordered commands:
     for cmd in ${cmdsorder[@]}; do
         for (( line=0 ; line<${#cmds[@]} ; line++ )); do
-            if [ "$cmd" == "-${cmds[$line]}" ]; then
+            if [ "$cmd" = "-${cmds[$line]}" ]; then
                 unset cmds[$line]
                 cmds=( "${cmds[@]}" )
                 break
             fi
-            if [ "$cmd" == "${cmds[$line]}" ]; then
+            if [ "$cmd" = "${cmds[$line]}" ]; then
                 ordered_cmds=( "${ordered_cmds[@]}" "${cmds[$line]}" )
                 unset cmds[$line]
                 cmds=( "${cmds[@]}" )

Modified: vdr/vdr/trunk/debian/extract-patchinfo
===================================================================
--- vdr/vdr/trunk/debian/extract-patchinfo	2007-01-22 23:06:20 UTC (rev 4123)
+++ vdr/vdr/trunk/debian/extract-patchinfo	2007-01-24 17:59:46 UTC (rev 4124)
@@ -35,13 +35,13 @@
     is_applied="no"
 
     for applied_patch in $patches_applied ; do
-        if [ $applied_patch == $patch ] ; then
+        if [ $applied_patch = $patch ] ; then
             is_applied="yes"
             break
         fi
     done
     
-    if [ $is_applied == "no" ] ; then
+    if [ $is_applied = "no" ] ; then
         print_patch $patch
     fi
 done

Modified: vdr/vdr/trunk/debian/plugin-loader.sh
===================================================================
--- vdr/vdr/trunk/debian/plugin-loader.sh	2007-01-22 23:06:20 UTC (rev 4123)
+++ vdr/vdr/trunk/debian/plugin-loader.sh	2007-01-24 17:59:46 UTC (rev 4124)
@@ -41,7 +41,7 @@
     installed_plugins=(`echo ${plugins[@]} | sed 's/[^ ]*://g'`)
     packages=(   vdr   `echo ${plugins[@]} | sed 's/:[^ ]*//g'`)
 
-    if [ "$PLUGIN_CHECK_PATCHLEVEL" == "yes" ]; then
+    if [ "$PLUGIN_CHECK_PATCHLEVEL" = "yes" ]; then
         # extract patchlevel info
         eval "patchlevels=($(LANG=C;dpkg -s ${packages[@]} 2>&1 | awk -F ':' '\
             /^Package: /                         {p=$2} \
@@ -60,7 +60,7 @@
         installed_plugins=( "${installed_plugins[@]}" )
     fi
 
-    if [ "$PLUGIN_CHECK_STARTABLE" == "yes" ]; then
+    if [ "$PLUGIN_CHECK_STARTABLE" = "yes" ]; then
 
         # move not startable plugins to $leftout2
         for (( i=${#installed_plugins[@]}, i-- ; i >= 0 ; i-- )); do
@@ -82,12 +82,12 @@
         # move ordered plugins to list of ordered plugins
         for plugin in ${plugin_order[@]}; do
             for (( i=0 ; i<${#installed_plugins[@]} ; i++ )); do
-                if [ "$plugin" == "-${installed_plugins[$i]}" ]; then
+                if [ "$plugin" = "-${installed_plugins[$i]}" ]; then
                     unset installed_plugins[$i]
                     installed_plugins=( "${installed_plugins[@]}" )
                     break
                 fi
-                if [ "$plugin" == "${installed_plugins[$i]}" ]; then
+                if [ "$plugin" = "${installed_plugins[$i]}" ]; then
                     ordered_plugins=( "${ordered_plugins[@]}" "$plugin" )
                     unset installed_plugins[$i]
                     installed_plugins=( "${installed_plugins[@]}" )




More information about the pkg-vdr-dvb-changes mailing list