Re: Tazpanel - pkgs.cgi

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hi,

> cmdline=${cmdline#*repo=* }
> 
> between line 465 and 466.
> 
> This way it will chop the shortest string matched with '*repo=* ', for
> example for the string
> 'Remove repo=Any pkg=aria2+ pkg=b43-fwcutter', it will chop 'Remove
> repo=Any ' and will leave 'pkg=....'. So we don't ever need to know
> what's the name of the repo, nor we need to use sed to chop the
> string; only it is important to have repo=* before pkg=*.

Thanks for the fix! Commited:
http://hg.slitaz.org/tazpanel/rev/928c4919e092

I guess it the better to do it, sinve $(GET pkg) dont work properly.

- Christophe

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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/