summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch b/meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch
new file mode 100644
index 000000000..3f08e493a
--- /dev/null
+++ b/meta-oe/recipes-connectivity/samba/samba-3.6.24/installswat.sh.patch
@@ -0,0 +1,23 @@
1Description: Do not install the Using Samba book when installing SWAT
2 Using Samba is packaged in samba-doc, however upstream also
3 installs it in SWAT install dirs
4Author: Christian Perrier <bubulle@debian.org>
5Forwarded: not-needed
6
7Index: experimental/source3/script/installswat.sh
8===================================================================
9--- experimental.orig/source3/script/installswat.sh
10+++ experimental/source3/script/installswat.sh
11@@ -198,7 +198,11 @@
12
13 # Install/ remove Using Samba book (but only if it is there)
14
15-if [ "x$BOOKDIR" != "x" -a -f $SRCDIR../docs/htmldocs/using_samba/toc.html ]; then
16+# Under Debian we don't actually install the book. The book is part of
17+# the samba-doc package, so we just provide a symlink that points to
18+# where the book is actually installed. The symlink is created in
19+# debian/rules.
20+if /bin/false; then
21
22 # Create directories
23