Hi Ronnie,
Ronnie Carlos Tavares Nunes wrote:
> I trying to use wget with wpkg. I want to define a variable inside the
> file profile.xml to set the option "limit bandwith" of wget, according
> the type of profile I have. Question: is it possible? (Set bandwidth =
> 10k), for example.
Yes, this should be possible.
Try a profile definition like...
<profiles>
<profile id="myprofile">
<package package-id="firefox" />
<variable name="MAXBANDWITH" value="10k" /></profile>
</profiles>
Then use a package like
<packages>
<package name="" id="" installdate="2007-11-23T22:00:00">
<variable name="" value="" lcid="asdf" />
<download target="sdfas" url="" timeout="" />
<check>check</check>
<install cmd="wget --limit-rate=%MAXBANDWITH% ..."></install>
</package>
</packages>
This should allow you to use different bandwith limitations for each
profile.
br,
Rainer
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users