From: the <the.guard@mail.ru>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
Date: Mon, 14 Jul 2014 15:25:27 +0400 [thread overview]
Message-ID: <53C3BE27.3060606@mail.ru> (raw)
In-Reply-To: <53C3B689.4080605@wht.com.au>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 07/14/14 14:52, Andrew Lowe wrote:
> Hi all, I have a laptop churning away in the loungeroom doing an
> "emerge -NuD world" whilst I'm in my office, amongst other things
> composing this email. If my world update fails, I won't know until
> I look at the screen in the other room. Is there a way to get
> emerge to play a song depending upon the status of the emerge
> build?
If I understand you correctly this can be done with bash like:
emerge <...> || play alert.mp3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCAAGBQJTw74lAAoJEK64IL1uI2haTB8H/0kbi37uYP1oPN7pxJRvY33D
QapwWC9imC8ZNtYScW2ZB62cpkBSHXAx0ti46ENO9Omjmj3SP48zw9M5Lbjg9wiD
il3aYTu82EnRorMrPDbPS6ztJVMLBn9pFOUEB3br1qwvXr35+a7xFVqoYckZtOZB
QfaKcN4ApFFpC59DXoHtYf9OlvVbrg6vlvUHj7R3pzLor1Qd0SgQ51HhCaPiWaMP
iLG+rYwhwrnRhPrKMNCNPo2RkX0qGKsstjeZFV35lOPiKvzXhBmF225bqG4RMWcs
D+JVCx4ng/NHYVoiH2IIvLBQUGVhDpEkCHuBOEfEIfFgKwY4LsYXZKr35j/lboA=
=9gp+
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-07-14 11:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 10:52 [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Andrew Lowe
2014-07-14 11:15 ` Vladimir Romanov
2014-07-14 11:25 ` the [this message]
2014-07-14 11:28 ` Vladimir Romanov
2014-07-14 11:29 ` Vladimir Romanov
2014-07-14 11:40 ` Alan McKinnon
2014-07-14 11:47 ` Neil Bothwick
2014-07-14 12:07 ` Andrew Lowe
2014-07-14 11:46 ` Neil Bothwick
2014-07-14 12:09 ` Andrew Lowe
2014-07-14 12:21 ` Neil Bothwick
2014-07-15 9:17 ` J. Roeleveld
2014-07-15 9:57 ` Neil Bothwick
2014-07-16 16:46 ` Johám-Luís Miguéns Vila
2014-07-16 19:00 ` J. Roeleveld
2014-07-17 21:34 ` john
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C3BE27.3060606@mail.ru \
--to=the.guard@mail.ru \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox