Page 1 sur 1

[yaourt] 1.0 bug maybe

Publié : jeu. 19 janv. 2012, 12:49
par markoer
hi to all,

after migrating from yaourt 0.10 to 1.0 i experinaced some wierd thing, also i was traying to find out some usefull post regarding this but it seems that noone has this kind of issue AFAIK

so here it is,
when I fire up sync param in yaourt i allways get output which invoke pacman command and show me that on stdout, so for example if i start yaourt -Syy i will get this on screen

Code : Tout sélectionner

markoer@ntxbook ~ $ emerge -Syy
/usr/bin/pacman -Syy
:: Synchronizing package databases...
i fixed in function is_sudo_allowed in utils.sh by changing redirect descriptor from 2 to &, which leads to normal normal behaviors by redirecting it's both stdin and stderr to /dev/null. Dont know why did you change this behavior, any info?

Re: yaourt 1.0 bug maybe

Publié : jeu. 19 janv. 2012, 12:57
par tuxce
Hi, it's not a bug, but it can definitely be improved :)
The change is due to: FS#223 / [cb647]
I will add a configuration variable to let user choose the redirection and make "&>" by default.

Re: [yaourt] 1.0 bug maybe

Publié : jeu. 19 janv. 2012, 14:07
par markoer
thx for you quick response, then i wasn't looking at the right place for report, after all that would be a good idea to include it in configuration.
keep up good work