From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/lilo/
Date: Fri, 22 Apr 2022 17:43:17 +0000 (UTC) [thread overview]
Message-ID: <1650649387.855c59c561e00df4f4d1f32638ea970259bd9976.sam@gentoo> (raw)
commit: 855c59c561e00df4f4d1f32638ea970259bd9976
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 17:41:03 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
next reply other threads:[~2022-04-22 17:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 17:43 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 14:51 [gentoo-commits] repo/gentoo:master commit in: sys-boot/lilo/ Jakov Smolić
2025-03-08 14:51 Jakov Smolić
2024-10-06 11:30 Joshua Kinard
2024-02-02 6:28 Andrew Ammerlaan
2021-06-06 18:39 Joshua Kinard
2021-06-01 17:35 Mike Gilbert
2021-06-01 17:35 Mike Gilbert
2021-05-31 17:49 David Seifert
2021-04-21 19:02 Sam James
2021-03-07 13:14 Mikle Kolyada
2021-03-06 15:37 Thomas Deutschmann
2018-06-01 14:05 Aaron Bauman
2017-12-07 19:29 Anthony G. Basile
2015-11-23 14:50 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650649387.855c59c561e00df4f4d1f32638ea970259bd9976.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox