From acb9531c67f025ceac4e9032d25fa7116012eeee Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 3 Feb 2014 11:56:21 +0100 Subject: [PATCH] samba: changed to use --with-fhs confopt if the fhs package is installed --- network/samba/samba.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/network/samba/samba.conf b/network/samba/samba.conf index a9a75a824..303c5e4ee 100644 --- a/network/samba/samba.conf +++ b/network/samba/samba.conf @@ -27,8 +27,12 @@ fi [ "$sysconfdir" = "$root/etc" ] && \ sysconfdir=$root/etc/samba +if pkginstalled -f fhs; then + var_append extraconfopt ' ' "--with-fhs" +fi + var_append extraconfopt " " "--with-automount --with-syslog \ ---with-acl-support --with-libsmbclient --with-quotas --with-fhs \ +--with-acl-support --with-libsmbclient --with-quotas \ --with-configdir=$sysconfdir \ --with-privatedir=$sysconfdir/private \ --with-codepagedir=$sysconfdir/codepages \