Changeset 34071 for main/trunk/model-sites-dev
- Timestamp:
- 2020-03-14T23:20:48+13:00 (4 years ago)
- Location:
- main/trunk/model-sites-dev/atea/collect/global-digital-heritage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/atea/collect/global-digital-heritage/ACTIVATE.sh
r34023 r34071 4 4 col=${cwd##*/} 5 5 6 activate.pl -removeold -site atea -library_url http://localhost:8383/greenstone3/atea-library $* "$col" 6 site_tail=${cwd%*/*/*} 7 site=${site_tail##*/} 7 8 9 activate.pl -removeold -site "$site" -library_url http://localhost:8383/greenstone3/$site-library $* "$col" 10 -
main/trunk/model-sites-dev/atea/collect/global-digital-heritage/BUILDCOL.sh
r34023 r34071 4 4 col=${cwd##*/} 5 5 6 buildcol.pl -removeold -site atea $* "$col" 6 site_tail=${cwd%*/*/*} 7 site=${site_tail##*/} 7 8 9 buildcol.pl -removeold -site "$site" $* "$col" 10 -
main/trunk/model-sites-dev/atea/collect/global-digital-heritage/IMPORT.sh
r34023 r34071 4 4 col=${cwd##*/} 5 5 6 import.pl -removeold -site atea $* "$col" 6 site_tail=${cwd%*/*/*} 7 site=${site_tail##*/} 7 8 9 import.pl -removeold -site "$site" -OIDtype assigned -OIDmetadata gdh.Identifier $* "$col" 10 -
main/trunk/model-sites-dev/atea/collect/global-digital-heritage/RECONFIGURE.sh
r34023 r34071 1 1 #!/bin/bash 2 2 3 echo "Reconfiguring full site" 3 echo "Full reconfiguration of site:" 4 echo " atea" 5 echo "" 4 6 5 wget -O /dev/null 'http://localhost:8383/greenstone3/atea-library?a=s&sa=c' 7 site_tail=${cwd%*/*/*} 8 site=${site_tail##*/} 9 10 reconfig_url="http://localhost:8383/greenstone3/$site-library?a=s&sa=c" 11 echo "Running:" 12 echo " wget -O /dev/null \"$reconfig_url\"" 13 14 wget -O /dev/null "$reconfig_url" >/dev/null 2>&1 6 15 7 16 status=$? 8 17 9 18 if [ $status != 0 ] ; then 10 echo "Error encountered when requesting Greenstone3 reconfiguration" 1>&2 19 echo "Error encountered when requesting Greenstone3 reconfiguration" 1>&2 20 else 21 echo "Done" 11 22 fi 12 23 24
Note:
See TracChangeset
for help on using the changeset viewer.