summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/installswat.sh25
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)