i'm sorry, fixed another one, included both correction in the same patch;
changed tr [A-Z] [a-z] to [:upper:] [:lower:] to avoid something like
"Install" -> "bnstall". Now upgrade works fine.

Regards,
daniele

--- a
+++ b
@@ -449,8 +449,8 @@
                table_head
                for pkg in `cat packages.up`
                do
-                       grep -s "^$pkg |" $LOCALSTATE/packages.desc \
-                               $LOCALSTATE/undisgest/*/packages.desc | \
+                       grep -hs "^$pkg |" $LOCALSTATE/packages.desc \
+                               $LOCALSTATE/undigest/*/packages.desc | \
                                parse_packages_desc
                done
                table_end
@@ -465,7 +465,7 @@
                cmd=`echo ${cmdline} | awk '{print $1}'`
                cmdline=${cmdline#*repo=* }
                pkgs=`echo $cmdline | sed -e s'/+/ /g' -e s'/pkg=//g' -e 
s/$cmd//`
-               cmd=`echo $cmd | tr [A-Z] [a-z]`                
+               cmd=`echo $cmd | tr [:upper:] [:lower:]`                
                case $cmd in
                        install)
                                cmd=get-install opt=--forced ;;

---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/

Reply via email to