-----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-----