File:
[LON-CAPA] /
loncom /
html /
adm /
jmol /
commands
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Wed Apr 1 16:40:27 2015 UTC (9 years, 7 months ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_12_X,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
HEAD
- Update to Jmol-14.2.13_2015.03.23 (fixes an issue with display for
certain types of pdb formats in Jmol-14.2.12_2015.02.11)
1: currversion=0.0
2: jmoldir='/home/httpd/html/adm/jmol'
3: if [ -e $jmoldir ]
4: then
5: if [ -e "$jmoldir/VERSION" ]
6: then
7: currversion=`cat $jmoldir/VERSION`
8: fi
9: fi
10: newversion=`cat VERSION`
11: comparison=`echo "$newversion > $currversion" | bc`
12: if [ $comparison -gt 0 ]
13: then
14: if [ -e $jmoldir ]
15: then
16: rm -rf $jmoldir
17: fi
18: unzip -q -o -d $jmoldir jmol-loncapa.zip
19: mv $jmoldir/jmol-14.2.13.loncapa/* $jmoldir/.
20: rm -r $jmoldir/jmol-14.2.13.loncapa
21: cp VERSION $jmoldir/VERSION
22: chown -R www:www $jmoldir
23: find $jmoldir -type d -exec chmod u=rwx,go-rwx {} \;
24: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>