summaryrefslogtreecommitdiff
path: root/patches/installswat.sh.patch
blob: f3b8cfd872054dd808ee7dbe9db58d431d133420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Goal: Do not install the Using Samba book when installing SWAT

Fixes: 

Status wrt upstream: Debian specific

Note: 

Index: samba-3.0.25rc2/source/script/installswat.sh
===================================================================
--- samba-3.0.25rc2.orig/source/script/installswat.sh	2007-04-24 11:07:01.214092173 +0200
+++ samba-3.0.25rc2/source/script/installswat.sh	2007-04-24 11:07:48.931862317 +0200
@@ -198,7 +198,11 @@
 
 # Install/ remove Using Samba book (but only if it is there)
 
-if [ "x$BOOKDIR" != "x" -a -f $SRCDIR../docs/htmldocs/using_samba/toc.html ]; then
+# Under Debian we don't actually install the book. The book is part of
+# the samba-doc package, so we just provide a symlink that points to
+# where the book is actually installed. The symlink is created in
+# debian/rules.
+if /bin/false; then
 
     # Create directories