diff options
Diffstat (limited to 'net-misc/chrony/chrony-4.0_pre2-r1.ebuild')
-rw-r--r-- | net-misc/chrony/chrony-4.0_pre2-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/chrony/chrony-4.0_pre2-r1.ebuild b/net-misc/chrony/chrony-4.0_pre2-r1.ebuild index 322eeb924944..0338e59678bc 100644 --- a/net-misc/chrony/chrony-4.0_pre2-r1.ebuild +++ b/net-misc/chrony/chrony-4.0_pre2-r1.ebuild @@ -190,7 +190,7 @@ pkg_preinst() { pkg_postinst() { tmpfiles_process chronyd.conf - if use caps && ! ${HAD_CAPS}; then + if [[ -n ${REPLACING_VERSIONS} ]] && use caps && ! ${HAD_CAPS}; then ewarn "Please adjust permissions on ${EROOT}/var/{lib,log}/chrony to be owned by ntp:ntp" ewarn "e.g. chown -R ntp:ntp ${EROOT}/var/{lib,log}/chrony" ewarn "This is necessary for chrony to drop privileges" |