* [gentoo-user] Avoid 'q' (from app-portage/portage-utils) output in eix-sync
@ 2018-04-03 7:04 Alarig Le Lay
0 siblings, 0 replies; only message in thread
From: Alarig Le Lay @ 2018-04-03 7:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-03 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-03 7:04 [gentoo-user] Avoid 'q' (from app-portage/portage-utils) output in eix-sync Alarig Le Lay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox