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 <bluebo...@gmail.com
>> <mailto:bluebo...@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

Reply via email to