Annotation of badi/public_scripts/parallelstarter/install_parallelstarter, revision 1.2
1.1 adi 1: #!/bin/sh
2:
3: echo "Installing parallelstarter..."
4:
5: cp -v parallelstarter /usr/local/bin
6: chmod a+x /usr/local/bin/parallelstarter
7:
8: cp -v summarize_time /usr/local/bin
9: chmod a+x /usr/local/bin/summarize_time
10:
11: cp -v setup_parallelstarter /usr/local/bin
12: chmod a+x /usr/local/bin/setup_parallelstarter
13:
14: if [ -e "/usr/local/lib/parallelstarter" ]; then
15: rm -fvr /usr/local/lib/parallelstarter
16: fi
17: mkdir -p /usr/local/lib/parallelstarter
18: cp -v README /usr/local/lib/parallelstarter
19:
20: # matsim
21: cp -Rv matsim /usr/local/lib/parallelstarter
22: rm -fvr /usr/local/lib/parallelstarter/matsim/CVS
23:
24: # db_backup
25: cp -Rv db_backup /usr/local/lib/parallelstarter
26: if [ ! -e /etc/db_backup ]; then
27: mkdir /etc/db_backup
28: mv /usr/local/lib/parallelstarter/db_backup/dbs /etc/db_backup/
29: else
1.2 ! adi 30: echo "Config directory '/etc/db_backup/' for db_backup already exists. Please check manually!"
1.1 adi 31: fi
32: rm -fvr /usr/local/lib/parallelstarter/db_backup/CVS
33:
34: # biogeme
35: cp -Rv biogeme /usr/local/lib/parallelstarter
36: rm -fvr /usr/local/lib/parallelstarter/biogeme/CVS
37:
38: echo
39: echo "done."
40: echo
41: echo "To use parallelstarter, navigate to a new directory, where you want to save the output of your parallel runs and call setup_parallelstarter."
42: echo
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>