public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Lowe <agl@wht.com.au>
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 20:07:19 +0800	[thread overview]
Message-ID: <53C3C7F7.3080503@wht.com.au> (raw)
In-Reply-To: <53C3C1AC.7050408@gmail.com>

On 07/14/2014 07:40 PM, Alan McKinnon wrote:
> On 14/07/2014 13:29, Vladimir Romanov wrote:
>>
>> 2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@gmail.com
>> <mailto:blueboar2@gmail.com>>:
>>


[snip]


>> Hmmm... Or am i wrong and it's not needed?
> 
> 
> No, you are right. From the OP:
> 
> Is there a way to get emerge to play a song depending
> upon the status of the emerge build?
> 
> I read the in one of two ways:
> 
> 
> 
> 1. When emerge completes successfully, play something awesome (eg Pink
> Floyd). When emerge completes unsuccessfully, play something horrible
> (eg Justin Bieber). So maybe:
> 
> emerge <...> && play Dark.Side.of.the.Moon.mp3 || play Bieber.Sucks.mp3

	Alan has it right, play something when the emerge succeeds, something
else when it fails. Got plenty of Pink Floyd, but no "what's his face" -
I can't even bring myself to type his name ;) I'd probably just use
Chopin's Funeral March...

	Andrew


  parent reply	other threads:[~2014-07-14 12:07 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
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 [this message]
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=53C3C7F7.3080503@wht.com.au \
    --to=agl@wht.com.au \
    --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