Thomas Legrand wrote:
> Hello, :-P
> Thank you for your help, and thank you to Devil505 and Janny :-P
> I think I understand a little the subtleties of a FrugalBuild. But, I
> don't understand the up2date line. How did you find it, please ?
;) use lynx -dump -source on your old commented up2date line.
You'll notice it point to ../downloads/some_file.js :p
> With that, I don't understand the install file synthax. And his utility. :-/
Have a look at man FrugalBuild for the syntax.
install scripts are doing 'something' when the package installs , or gets
removed or gets updated / upgraded.
post_* is doing something 'after' the package installed or was removed ,
while pre_* is doing that before it gets installed / removed etc.
some foo example :
pre_install()
{
if [ -d some_dir_bad ]; then
echo "Bad dir found need to backup before installing foo"
cp -ra some_dir_bad some_dir_bad.back || exit 1
else
echo "Good can continue , some_bad_dir does not exists"
fi
}
That checks before doing anything if some_dir_bad exists and if yes backups if.
etc
>
> But, after all, I think there is some people who will be happy to have
> XaraLX in the -current branch :-P
> Thanks again !
You are welcome :)
>
> jedifox
>
crazy
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel