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