source: main/trunk/model-sites-dev/atea/collect/RECONFIGURE-ALL-COLS.sh@ 34466

Last change on this file since 34466 was 34466, checked in by davidb, 4 years ago

Now run as regular 'library' URL

  • Property svn:executable set to *
File size: 525 bytes
Line 
1#!/bin/bash
2
3cwd=`pwd`
4site_tail=${cwd%*/*}
5site=${site_tail##*/}
6
7echo "Full reconfiguration of site:"
8echo " $site"
9echo ""
10
11#reconfig_url="http://localhost:8383/greenstone3/$site-library?a=s&sa=c"
12reconfig_url="http://localhost:8383/greenstone3/library?a=s&sa=c"
13
14
15echo "Running:"
16echo " wget -O /dev/null \"$reconfig_url\""
17
18wget -O /dev/null "$reconfig_url" >/dev/null 2>&1
19
20status=$?
21
22if [ $status != 0 ] ; then
23 echo "Error encountered when requesting Greenstone3 reconfiguration" 1>&2
24else
25 echo "Done"
26fi
27
28
Note: See TracBrowser for help on using the repository browser.