Author: deryck
Date: 2006-05-05 21:37:13 +0000 (Fri, 05 May 2006)
New Revision: 15466

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15466

Log:

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 
Modified:
   branches/SAMBA_3_0/source/script/installswat.sh
   trunk/source/script/installswat.sh


Changeset:
Modified: branches/SAMBA_3_0/source/script/installswat.sh
===================================================================
--- branches/SAMBA_3_0/source/script/installswat.sh     2006-05-05 21:28:16 UTC 
(rev 15465)
+++ branches/SAMBA_3_0/source/script/installswat.sh     2006-05-05 21:37:13 UTC 
(rev 15466)
@@ -43,7 +43,7 @@
 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 @@
       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)

Modified: trunk/source/script/installswat.sh
===================================================================
--- trunk/source/script/installswat.sh  2006-05-05 21:28:16 UTC (rev 15465)
+++ trunk/source/script/installswat.sh  2006-05-05 21:37:13 UTC (rev 15466)
@@ -43,7 +43,7 @@
 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 @@
       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)

Reply via email to