Browse Source

samba: changed to use default prefix instead of /opt/samba (IssueID #88)

stable/0.2
Christian Wiese 14 years ago
parent
commit
1aee7ae107
  1. 8
      network/samba/samba.conf

8
network/samba/samba.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../samba/samba.conf # Filename: package/.../samba/samba.conf
# Copyright (C) 2006 - 2009 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -15,8 +15,10 @@
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ] ; then if [ $prefix_auto = 1 ] ; then
prefix="opt/samba" # use a dedicated sysconfdir instead of installing into /etc
set_confopt sysconfdir="$sysconfdir/$pkg"
# use a dedicated datadir
datadir="$datadir/$pkg"
fi fi
var_append extraconfopt " " "--with-smbmount --with-cifsmount --with-automount \ var_append extraconfopt " " "--with-smbmount --with-cifsmount --with-automount \

Loading…
Cancel
Save