diff options
author | Deryck Hodge <deryck@samba.org> | 2006-05-05 21:37:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:51 -0500 |
commit | a24c545bac9b3ca30a014c11d3a061a647c242ae (patch) | |
tree | 8be6c96606228e10e4b5e3f1ca396f2c84fdbc5f | |
parent | e805b87e5ff6c0359b84727fe69e287e14890c02 (diff) | |
download | samba-a24c545bac9b3ca30a014c11d3a061a647c242ae.tar.gz samba-a24c545bac9b3ca30a014c11d3a061a647c242ae.tar.bz2 samba-a24c545bac9b3ca30a014c11d3a061a647c242ae.zip |
r15466: Install the images for SWAT.
And we don't install any JavaScript (hold over from a prior SWAT
svn ci trunk/ branches/SAMBA_3_0 -m
(This used to be commit 9bf07ba6cc82113b94f4d1bdac3a95262fff18c0)
-rwxr-xr-x | source3/script/installswat.sh | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/source3/script/installswat.sh b/source3/script/installswat.sh index 427e177362..f4220b3c63 100755 --- a/source3/script/installswat.sh +++ b/source3/script/installswat.sh @@ -43,7 +43,7 @@ fi for ln in $LANGS; do # images - for f in $SRCDIR../swat/$ln/images/*.png; do + for f in $SRCDIR../swat/$ln/images/*.gif; do if [ ! -f $f ] ; then continue fi @@ -121,29 +121,6 @@ for ln in $LANGS; do fi done - # javascripts - for f in $SRCDIR../swat/$ln/js/*.js; do - if [ ! -f $f ] ; then - continue - fi - FNAME="$DESTDIR/$SWATDIR/$ln/js/`basename $f`" - echo $FNAME - if test "$mode" = 'install'; then - cp "$f" "$FNAME" - if test ! -f "$FNAME"; then - echo "Cannot install $FNAME. Does $USER have privileges? " - exit 1 - fi - chmod 0644 $FNAME - elif test "$mode" = 'uninstall'; then - rm -f "$FNAME" - if test -f "$FNAME"; then - echo "Cannot remove $FNAME. Does $USER have privileges? " - exit 1 - fi - fi - done - done # Install/ remove html documentation (if html documentation tree is here) |