summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/chrony/chrony-9999.ebuild')
-rw-r--r--net-misc/chrony/chrony-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
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() {