File:  [LON-CAPA] / loncom / html / adm / ckeditor / commands
Revision 1.4: download - view: text, annotated - select for diffs
Thu Jan 10 05:36:22 2013 UTC (11 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- Improve robustness by not relying on argument in script call in loncaapfiles.lpml - For rich text editor (ckeditor) do some clean up of old editors -- fckeditor
  and htmlarea, if installing on LON-CAPA server with long history
- Add sleep to avoid error occasionally seen when running ./UPDATE
- Eliminate warnings about missing directories
- Include FONTSVERSION for jsMath Fonts and only unzip fonts .zip file if newer
  than FONTSVERSION.

path=`pwd`
htmldir='/home/httpd/html'
if [ -e "$htmldir/fckeditor" ]
then
    rm -rf $htmldir/fckeditor
fi
if [ -e "$htmldir/htmlarea" ]
then
    rm -rf $htmldir/htmlarea
fi
cd $htmldir
echo $path/ckeditor_3.6.2.tar.gz
tar -zxf $path/ckeditor_3.6.2.tar.gz
cp $path/loncapaconfig.js ckeditor/loncapaconfig.js

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>