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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E66615808D for ; Fri, 22 Apr 2022 17:43:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C105E08A2; Fri, 22 Apr 2022 17:43:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22060E08A2 for ; Fri, 22 Apr 2022 17:43:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12B5134171F for ; Fri, 22 Apr 2022 17:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6405E3BC for ; Fri, 22 Apr 2022 17:43:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650649387.855c59c561e00df4f4d1f32638ea970259bd9976.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/lilo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/lilo/lilo-24.2-r1.ebuild sys-boot/lilo/lilo-24.2.ebuild X-VCS-Directories: sys-boot/lilo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 855c59c561e00df4f4d1f32638ea970259bd9976 X-VCS-Branch: master Date: Fri, 22 Apr 2022 17:43:17 +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: f236aca8-a626-4f26-bef7-2a5bc4ba777b X-Archives-Hash: 9c44936c5b24f4d22f7cac028243d3cb commit: 855c59c561e00df4f4d1f32638ea970259bd9976 Author: Sam James gentoo org> AuthorDate: Fri Apr 22 17:41:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Apr 22 17:43:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855c59c5 sys-boot/lilo: fix ROOT check in pkg_postinst With EAPI 7+, ROOT and others will be blank (not /). Signed-off-by: Sam James gentoo.org> sys-boot/lilo/{lilo-24.2.ebuild => lilo-24.2-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-boot/lilo/lilo-24.2.ebuild b/sys-boot/lilo/lilo-24.2-r1.ebuild similarity index 98% rename from sys-boot/lilo/lilo-24.2.ebuild rename to sys-boot/lilo/lilo-24.2-r1.ebuild index 9ae96a087bd0..66040236a6d6 100644 --- a/sys-boot/lilo/lilo-24.2.ebuild +++ b/sys-boot/lilo/lilo-24.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -162,7 +162,7 @@ pkg_postinst() { ln -snf boot-menu.b "${ROOT}/boot/boot.b" fi - if [ "${ROOT}" = "/" ] && use !minimal; + if [[ -z "${ROOT}" ]] && use !minimal; then if lilocheck then