Browse Source

samba: changed to set sysconfdir to '/etc/samba' in the case it was autoconfigured to '/etc'

stable/0.2
Christian Wiese 14 years ago committed by Christian Wiese
parent
commit
b1c863b529
  1. 4
      network/samba/samba.conf

4
network/samba/samba.conf

@ -21,6 +21,10 @@ if [ $prefix_auto = 1 ] ; then
datadir="$datadir/$pkg"
fi
# set sysconfdir to '/etc/samba' in the case it was autoconfigured to '/etc'
[ "$sysconfdir" = "$root/etc" ] && \
sysconfdir=$root/etc/samba
var_append extraconfopt " " "--with-smbmount --with-cifsmount --with-automount \
--with-syslog --with-configdir=$sysconfdir \
--with-privatedir=$sysconfdir/private --with-codepagedir=$sysconfdir/codepages \

Loading…
Cancel
Save