[yaourt] 1.0 bug maybe

Annonces, dépannage, évolution du projet yaourt
markoer
newbie
Messages : 2
Inscription : jeu. 19 janv. 2012, 12:21

[yaourt] 1.0 bug maybe

Message 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?
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Re: yaourt 1.0 bug maybe

Message 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.
markoer
newbie
Messages : 2
Inscription : jeu. 19 janv. 2012, 12:21

Re: [yaourt] 1.0 bug maybe

Message 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
Répondre