source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/RECONFIGURE-COL.sh@ 35046

Last change on this file since 35046 was 35021, checked in by davidb, 3 years ago

Changed to make use of _local_collect_config.h

  • Property svn:executable set to *
File size: 442 bytes
Line 
1#!/bin/bash
2
3source ./_local_collect_config.sh
4
5echo "Full reconfiguration of site/col through servlet $servlet:"
6echo " $site/$col"
7echo ""
8
9reconfig_url="$library_url?a=s&sa=c&sc=$col"
10echo "Running:"
11echo " wget -O /dev/null \"$reconfig_url\""
12
13wget -O /dev/null "$reconfig_url" >/dev/null 2>&1
14
15status=$?
16
17if [ $status != 0 ] ; then
18 echo "Error encountered when requesting Greenstone3 reconfiguration" 1>&2
19else
20 echo "Done"
21fi
Note: See TracBrowser for help on using the repository browser.