Hi,

app-portage/portage-utils installs a postsync hook in
/etc/portage/repo.postsync.d/q-reinit:
        #!/bin/sh
        
        repository_name=$1
        repository_path=$3
        
        if [ -n "${repository_name}" ]; then
                q ${PORTAGE_QUIET:+-q} --reinitialize="${repository_path}"
        fi
        
        :

So, according to this script, -q should be used if $PORTAGE_QUIET is not
empty; and q -q -r does not produce any output.

But, if I use it with eix-sync, I still have the q output:
        airmure ~ # PORTAGE_QUIET='1' eix-sync
         * Running emerge --sync
        >>> Syncing repository 'gentoo' into '/usr/portage'...
        /usr/bin/git pull --quiet
        === Sync completed for gentoo
        q: Updating ebuild cache in /usr/portage ...
        […]

Also, the variable is taken in account as '--quiet' is appended to the
git command.

Then, what should I do to avoid 'q: Updating ebuild cache in
/usr/portage ...' as well?

Thanks,
-- 
alarig

Attachment: signature.asc
Description: PGP signature

Reply via email to