commit: a34110a123fefaae13804ea02f4c5cc036877d43
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 22:31:36 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 22:32:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34110a1
net-misc/chrony: formatting change
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/chrony/chrony-4.1_pre1.ebuild | 3 ++-
net-misc/chrony/chrony-9999.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/net-misc/chrony/chrony-4.1_pre1.ebuild
b/net-misc/chrony/chrony-4.1_pre1.ebuild
index 91a9a012460..eb58830becb 100644
--- a/net-misc/chrony/chrony-4.1_pre1.ebuild
+++ b/net-misc/chrony/chrony-4.1_pre1.ebuild
@@ -195,6 +195,8 @@ pkg_preinst() {
HAD_CAPS=false
HAD_SECCOMP=false
+ # See
https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
+ # in "Ebuild Phases" for an explanation of why we need to save the
variable beforehand
if has_version 'net-misc/chrony[caps]' ; then
HAD_CAPS=true
fi
@@ -202,7 +204,6 @@ pkg_preinst() {
if has_version 'net-misc/chrony[seccomp]' ; then
HAD_SECCOMP=true
fi
-
}
pkg_postinst() {
diff --git a/net-misc/chrony/chrony-9999.ebuild
b/net-misc/chrony/chrony-9999.ebuild
index 91a9a012460..eb58830becb 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -195,6 +195,8 @@ pkg_preinst() {
HAD_CAPS=false
HAD_SECCOMP=false
+ # See
https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-phases-after-2.1.5
+ # in "Ebuild Phases" for an explanation of why we need to save the
variable beforehand
if has_version 'net-misc/chrony[caps]' ; then
HAD_CAPS=true
fi
@@ -202,7 +204,6 @@ pkg_preinst() {
if has_version 'net-misc/chrony[seccomp]' ; then
HAD_SECCOMP=true
fi
-
}
pkg_postinst() {