1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 07/14/14 14:52, Andrew Lowe wrote: |
5 |
> Hi all, I have a laptop churning away in the loungeroom doing an |
6 |
> "emerge -NuD world" whilst I'm in my office, amongst other things |
7 |
> composing this email. If my world update fails, I won't know until |
8 |
> I look at the screen in the other room. Is there a way to get |
9 |
> emerge to play a song depending upon the status of the emerge |
10 |
> build? |
11 |
|
12 |
If I understand you correctly this can be done with bash like: |
13 |
emerge <...> || play alert.mp3 |
14 |
|
15 |
-----BEGIN PGP SIGNATURE----- |
16 |
Version: GnuPG v2.0.22 (GNU/Linux) |
17 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
18 |
|
19 |
iQEcBAEBCAAGBQJTw74lAAoJEK64IL1uI2haTB8H/0kbi37uYP1oPN7pxJRvY33D |
20 |
QapwWC9imC8ZNtYScW2ZB62cpkBSHXAx0ti46ENO9Omjmj3SP48zw9M5Lbjg9wiD |
21 |
il3aYTu82EnRorMrPDbPS6ztJVMLBn9pFOUEB3br1qwvXr35+a7xFVqoYckZtOZB |
22 |
QfaKcN4ApFFpC59DXoHtYf9OlvVbrg6vlvUHj7R3pzLor1Qd0SgQ51HhCaPiWaMP |
23 |
iLG+rYwhwrnRhPrKMNCNPo2RkX0qGKsstjeZFV35lOPiKvzXhBmF225bqG4RMWcs |
24 |
D+JVCx4ng/NHYVoiH2IIvLBQUGVhDpEkCHuBOEfEIfFgKwY4LsYXZKr35j/lboA= |
25 |
=9gp+ |
26 |
-----END PGP SIGNATURE----- |