diff options
author | Mike Gilbert <floppym@gentoo.org> | 2023-01-28 14:15:23 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-01-28 14:19:45 -0500 |
commit | 4851df917d9c42839a315760f35a79dbd000e185 (patch) | |
tree | 31d2680d69f23407b192efbe984aad223901586e /net-fs | |
parent | net-p2p/transmission: restore ppc keyword (diff) | |
download | gentoo-4851df917d9c42839a315760f35a79dbd000e185.tar.gz gentoo-4851df917d9c42839a315760f35a79dbd000e185.tar.bz2 gentoo-4851df917d9c42839a315760f35a79dbd000e185.zip |
net-fs/samba: remove empty dirs in /run and /var
Closes: https://bugs.gentoo.org/892341
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/samba/samba-4.15.12-r4.ebuild (renamed from net-fs/samba/samba-4.15.12-r3.ebuild) | 3 | ||||
-rw-r--r-- | net-fs/samba/samba-4.16.7-r4.ebuild (renamed from net-fs/samba/samba-4.16.7-r3.ebuild) | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.15.12-r3.ebuild b/net-fs/samba/samba-4.15.12-r4.ebuild index 7cd4ba9cba8b..685dbfdbc549 100644 --- a/net-fs/samba/samba-4.15.12-r3.ebuild +++ b/net-fs/samba/samba-4.15.12-r4.ebuild @@ -270,6 +270,9 @@ multilib_src_install() { # smbspool_krb5_wrapper must only be accessible to root, bug #880739 find "${ED}" -type f -name "smbspool_krb5_wrapper" -exec chmod go-rwx {} + || die + # Remove empty runtime dirs created by build system (bug #892341) + find "${ED}"/{run,var} -type d -empty -delete || die + if multilib_is_native_abi ; then # install ldap schema for server (bug #491002) if use ldap ; then diff --git a/net-fs/samba/samba-4.16.7-r3.ebuild b/net-fs/samba/samba-4.16.7-r4.ebuild index 3f91c4f83dab..3186d2557a34 100644 --- a/net-fs/samba/samba-4.16.7-r3.ebuild +++ b/net-fs/samba/samba-4.16.7-r4.ebuild @@ -310,6 +310,9 @@ multilib_src_install() { # smbspool_krb5_wrapper must only be accessible to root, bug #880739 find "${ED}" -type f -name "smbspool_krb5_wrapper" -exec chmod go-rwx {} + || die + # Remove empty runtime dirs created by build system (bug #892341) + find "${ED}"/{run,var} -type d -empty -delete || die + if multilib_is_native_abi ; then # Install ldap schema for server (bug #491002) if use ldap ; then |