[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: tazpanel fixed typo
- From: Daniele Guerrieri <d.guerrieri@xxxxxxxxx>
- Date: Mon, 6 Jun 2011 22:31:15 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=A9VqUtjBI15VwUwU9tEKGN5UU73N3pPTAD/vzLFBrJ0=; b=JrfIm0LW9JsYhZ/R0g96HrfQW4IiME2SN2Ree0UOIXAnr43QLQXdOn4CpdvZdWqsaX RyH/ZywxAWucF6e64NAH0VYv9V/8WzLXnh7W0O6xLvkOBzWITeVpwqCLdThowsyLJHTa Jq1xzjoYgjEYRZG/JLJd05pIifoEjTVIRj3n4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Yu7UqimiAFNOXQ6emTFUiz86KT5NoNt+rQqIwEVk70HLsiEWtcrVvgUfLiBrWRvKAK +DnVMQj1G00OoPI4Nyl04MqarJhTMHgCex7RyCH6dJATV4vnQuUwpFg4ZRkbbLyevf3n jXqWB/4fPe6V87ensK3HGF1fyFNV2deZfTZcY=
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/