summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-woody/patches/installswat.sh.patch
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-10-29 13:19:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:15 -0500
commitfa75e8c1d482cdbad2ff074eccb2baf8d5bba856 (patch)
tree51797882a25cfdd23dc653d80cd5cf1723cc6f42 /packaging/Debian/debian-woody/patches/installswat.sh.patch
parent3a5c37bfd12781077fe8e7c6ebb23c2cfdb77fd1 (diff)
downloadsamba-fa75e8c1d482cdbad2ff074eccb2baf8d5bba856.tar.gz
samba-fa75e8c1d482cdbad2ff074eccb2baf8d5bba856.tar.bz2
samba-fa75e8c1d482cdbad2ff074eccb2baf8d5bba856.zip
r11395: Update the Debian packaging.
Move form stable to stable distribution names based hives. (This used to be commit bb13b3482047b6ab6d84ba9e2839cf8a0fac71aa)
Diffstat (limited to 'packaging/Debian/debian-woody/patches/installswat.sh.patch')
-rw-r--r--packaging/Debian/debian-woody/patches/installswat.sh.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/packaging/Debian/debian-woody/patches/installswat.sh.patch b/packaging/Debian/debian-woody/patches/installswat.sh.patch
new file mode 100644
index 0000000000..8bd120257e
--- /dev/null
+++ b/packaging/Debian/debian-woody/patches/installswat.sh.patch
@@ -0,0 +1,51 @@
+--- samba-3.0.1/source/script/installswat.sh.orig Fri Dec 19 14:49:40 2003
++++ samba-3.0.1/source/script/installswat.sh Fri Dec 19 14:48:49 2003
+@@ -9,7 +9,7 @@
+ echo Installing the Samba Web Administration Tool
+
+ LANGS=". `cd $SRCDIR../swat/; /bin/echo lang/??`"
+-echo Installing langs are `cd $SRCDIR../swat/lang/; /bin/echo ??`
++echo Installing the following additional langs: `cd $SRCDIR../swat/lang/; /bin/echo ??`
+
+ for ln in $LANGS; do
+ SWATLANGDIR=$SWATDIR/$ln
+@@ -23,11 +23,8 @@
+ fi
+ fi
+ done
+-done
+-
+-# Install images
+-for ln in $LANGS; do
+
++ # Install images
+ for f in $SRCDIR../swat/$ln/images/*.gif; do
+ if [ ! -f $f ] ; then
+ continue
+@@ -38,8 +35,7 @@
+ chmod 0644 $FNAME
+ done
+
+- # Install html help
+-
++ # Install html hel
+ for f in $SRCDIR../swat/$ln/help/*.html; do
+ if [ ! -f $f ] ; then
+ continue
+@@ -58,7 +54,6 @@
+ done
+
+ # Install "server-side" includes
+-
+ for f in $SRCDIR../swat/$ln/include/*.html; do
+ if [ ! -f $f ] ; then
+ continue
+@@ -78,7 +73,7 @@
+ for f in $SRCDIR../docs/htmldocs/*.html; do
+ FNAME=$SWATDIR/help/`basename $f`
+ echo $FNAME
+- cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
++ ln -s ../../../doc/samba-doc/htmldocs/`basename $f` $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
+ chmod 0644 $FNAME
+ done
+ fi