Gentoo Archives: gentoo-user

From: Vladimir Romanov <blueboar2@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build?
Date: Mon, 14 Jul 2014 11:29:16
Message-Id: CAKx5OMZnLJy2a7B8DP91tp2T4XoB+YOsMxdn6OvOdBtVHzr9xA@mail.gmail.com
In Reply to: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? by Vladimir Romanov
1 2014-07-14 17:28 GMT+06:00 Vladimir Romanov <blueboar2@×××××.com>:
2
3 >
4 >
5 >
6 > 2014-07-14 17:25 GMT+06:00 the <the.guard@××××.ru>:
7 >
8 > -----BEGIN PGP SIGNED MESSAGE-----
9 >> Hash: SHA256
10 >>
11 >> On 07/14/14 14:52, Andrew Lowe wrote:
12 >> > Hi all, I have a laptop churning away in the loungeroom doing an
13 >> > "emerge -NuD world" whilst I'm in my office, amongst other things
14 >> > composing this email. If my world update fails, I won't know until
15 >> > I look at the screen in the other room. Is there a way to get
16 >> > emerge to play a song depending upon the status of the emerge
17 >> > build?
18 >>
19 >> If I understand you correctly this can be done with bash like:
20 >> emerge <...> || play alert.mp3
21 >>
22 >>
23 > TC wants to select, which song to play on result of emerge.
24 >
25
26 Hmmm... Or am i wrong and it's not needed?

Replies

Subject Author
Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? Alan McKinnon <alan.mckinnon@×××××.com>