Changeset 6340


Ignore:
Timestamp:
2004-01-05T14:11:40+13:00 (20 years ago)
Author:
kjdon
Message:

generalised the method for untaring index files - will now unpack any web/sites/localsite/collect/*/index/indexfiles.tgz that it finds

Location:
trunk/gsdl3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/install-nocvs.bash

    r5122 r6340  
    3737
    3838#setup sample collection
    39 cd web/sites/localsite/collect/mgppdemo/index/
    40 tar xzf mgpp-indexfiles.tar.gz
    41 cd ../../demo/index
    42 tar xzf mg-indexfiles.tar.gz
    43 cd ../../chinesedemo/index
    44 tar xzf chinese-index-files.tar.gz
     39cd web/sites/localsite/collect
     40
     41for f in */index; do
     42  cd $f
     43  if test -e indexfiles.tgz; then
     44    tar xzf indexfiles.tgz
     45  fi
     46  cd ../../
     47done
     48
    4549cd $GSDL3HOME
     50
    4651
    4752
  • trunk/gsdl3/install.bash

    r5710 r6340  
    3636
    3737
    38 #setup sample collection
    39 cd web/sites/localsite/collect/mgppdemo/index/
    40 tar xzf mgpp-indexfiles.tar.gz
    41 cd ../../demo/index
    42 tar xzf mg-indexfiles.tar.gz
    43 cd ../../chinesedemo/index
    44 tar xzf chinese-index-files.tar.gz
     38#setup sample collections
     39cd web/sites/localsite/collect
     40
     41for f in */index; do
     42  cd $f
     43  if test -e indexfiles.tgz; then
     44    tar xzf indexfiles.tgz
     45  fi
     46  cd ../../
     47done
     48
    4549cd $GSDL3HOME
    46 
    4750
    4851#set up tomcat
Note: See TracChangeset for help on using the changeset viewer.