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, 9 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)
currversion=0.0
jmoldir='/home/httpd/html/adm/jmol'
if [ -e $jmoldir ]
then
if [ -e "$jmoldir/VERSION" ]
then
currversion=`cat $jmoldir/VERSION`
fi
fi
newversion=`cat VERSION`
comparison=`echo "$newversion > $currversion" | bc`
if [ $comparison -gt 0 ]
then
if [ -e $jmoldir ]
then
rm -rf $jmoldir
fi
unzip -q -o -d $jmoldir jmol-loncapa.zip
mv $jmoldir/jmol-14.2.13.loncapa/* $jmoldir/.
rm -r $jmoldir/jmol-14.2.13.loncapa
cp VERSION $jmoldir/VERSION
chown -R www:www $jmoldir
find $jmoldir -type d -exec chmod u=rwx,go-rwx {} \;
fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>