From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 524A413877A for ; Mon, 14 Jul 2014 11:25:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29B40E0857; Mon, 14 Jul 2014 11:25:32 +0000 (UTC) Received: from smtp8.mail.ru (smtp8.mail.ru [94.100.181.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8A1DE07B2 for ; Mon, 14 Jul 2014 11:25:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=1KcigCIuXH7tMAsiofitxEBhocg1OdKJB+ob+YR0Z1k=; b=NZ3zst8ZBt+C8EfmOAkruxQ4Q5i+SHhRMXPriQ19zwutq42Sb6btyQBBjFYJvoBX5F3E0E1Ie87CRmn5J9SSrgZPF54OZaL7OCJNLlR7mwow5vegWw8O1s1sxNC0nkwU7cDiTlgIx5nHkHSV6uZEglZgJHSyfNugMDpGxnNNEAE=; Received: from [95.221.19.5] (port=53170) by smtp8.mail.ru with esmtpa (envelope-from ) id 1X6eNs-0001jd-QN for gentoo-user@lists.gentoo.org; Mon, 14 Jul 2014 15:25:29 +0400 Message-ID: <53C3BE27.3060606@mail.ru> Date: Mon, 14 Jul 2014 15:25:27 +0400 From: the User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can emerge play a sound on either a successful/unsuccessful build? References: <53C3B689.4080605@wht.com.au> In-Reply-To: <53C3B689.4080605@wht.com.au> X-Enigmail-Version: 1.6 OpenPGP: url=http://pool.sks-keyservers.net:11371/pks/lookup?op=get&search=0xAEB820BD6E23685A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-Archives-Salt: 50fbe076-2257-4c03-ac24-d4537a466255 X-Archives-Hash: 78bd8b83da21008ffcf13477155c318a -----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-----