From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E6FF1382C5 for ; Sun, 6 Dec 2020 07:50:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFF10E0887; Sun, 6 Dec 2020 07:50:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A4854E0887 for ; Sun, 6 Dec 2020 07:50:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FFA63410DE for ; Sun, 6 Dec 2020 07:50:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D45F38A for ; Sun, 6 Dec 2020 07:50:49 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1607241036.74315c9e1eeeeaa6e4e2c7b1d9bc1a25f3692cc4.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lua/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/lua/lua-5.1.5-r105.ebuild X-VCS-Directories: dev-lang/lua/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 74315c9e1eeeeaa6e4e2c7b1d9bc1a25f3692cc4 X-VCS-Branch: master Date: Sun, 6 Dec 2020 07:50:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0eaf2775-e246-43d5-a1ce-7720efeb3a8b X-Archives-Hash: e40c4c9c4e1ebbed87f7d174883942f5 commit: 74315c9e1eeeeaa6e4e2c7b1d9bc1a25f3692cc4 Author: William Hubbs gentoo org> AuthorDate: Sun Dec 6 07:50:36 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Dec 6 07:50:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74315c9e dev-lang/lua: add postinst to 5.1.5-r105 Signed-off-by: William Hubbs gentoo.org> dev-lang/lua/lua-5.1.5-r105.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-lang/lua/lua-5.1.5-r105.ebuild b/dev-lang/lua/lua-5.1.5-r105.ebuild index 3cab2ad2e8c..98f24f0adce 100644 --- a/dev-lang/lua/lua-5.1.5-r105.ebuild +++ b/dev-lang/lua/lua-5.1.5-r105.ebuild @@ -141,3 +141,11 @@ multilib_src_test() { test/lua.static test/${test}.lua && die "test $test failed" done } + +pkg_postinst() { + if has_version "app-editor/emacs"; then + if ! has_version "app-emacs/lua-mode"; then + einfo "Install app-emacs/lua-mode for lua support for emacs" + fi + fi +}