summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-01 17:02:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-01 17:02:31 +0100
commit292f1530e37a0d9f0e9f79da9507a66e93f55167 (patch)
treea794d4d14f78f8652d7901970089654282b5ab4b /net-fs
parent759b03f266ed0406315a9e48d4bf7cdcb17dcb4e (diff)
net-fs/samba : install an example config file
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/samba-4.14.4-r10.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.14.4-r10.ebuild b/net-fs/samba/samba-4.14.4-r10.ebuild
index 4b5e47c6..7a56c8c3 100644
--- a/net-fs/samba/samba-4.14.4-r10.ebuild
+++ b/net-fs/samba/samba-4.14.4-r10.ebuild
@@ -277,6 +277,10 @@ multilib_src_install() {
dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb
fi
+ # install example config file
+ insinto /etc/samba
+ doins examples/smb.conf.default
+
# Fix paths in example file (#603964)
sed \
-e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \