summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-22 22:31:36 +0000
committerSam James <sam@gentoo.org>2021-04-22 22:32:10 +0000
commita34110a123fefaae13804ea02f4c5cc036877d43 (patch)
treeab894c3baf2aaf85b0aeb815aa420357ac041384 /net-misc/chrony
parentwww-client/qutebrowser: upgrade to 2.2.0 (diff)
downloadgentoo-a34110a123fefaae13804ea02f4c5cc036877d43.tar.gz
gentoo-a34110a123fefaae13804ea02f4c5cc036877d43.tar.bz2
gentoo-a34110a123fefaae13804ea02f4c5cc036877d43.zip
net-misc/chrony: formatting change
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/chrony')
-rw-r--r--net-misc/chrony/chrony-4.1_pre1.ebuild3
-rw-r--r--net-misc/chrony/chrony-9999.ebuild3
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 91a9a0124603..eb58830becb9 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 91a9a0124603..eb58830becb9 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() {