summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/samba-4.20.0.ebuild')
-rw-r--r--net-fs/samba/samba-4.20.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.20.0.ebuild b/net-fs/samba/samba-4.20.0.ebuild
index 5cdececc5c61..cc11ee9dd01a 100644
--- a/net-fs/samba/samba-4.20.0.ebuild
+++ b/net-fs/samba/samba-4.20.0.ebuild
@@ -368,6 +368,8 @@ multilib_src_install() {
dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service"
dosym smb.service "$(systemd_get_systemunitdir)/smbd.service"
dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service"
+
+ use python && python_optimize
fi
if use pam && use winbind ; then