Last change
on this file since 29474 was 29474, checked in by Jeremy Symon, 9 years ago |
Got deb packages working
|
-
Property svn:executable
set to
*
|
File size:
406 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | GSDL3HOME=$(pwd)
|
---|
4 | export GSDL3HOME
|
---|
5 | . greenstone --no-interactive
|
---|
6 | mv -T src sites/localsite/collect
|
---|
7 | find sites/localsite/collect/ -mindepth 1 -maxdepth 1 -not -name ".*" -execdir bash -c 'col="$(basename $1)"; import.pl -removeold -site localsite "$col"; buildcol.pl -removeold -site localsite "$col"; mv "${col}/building" "${col}/index"' -- {} \;
|
---|
8 | mv -T sites/localsite/collect src
|
---|
9 | rm -rf sites
|
---|
Note:
See
TracBrowser
for help on using the repository browser.