version 1.2, 2010/01/30 18:49:59
|
version 1.4, 2013/01/10 05:36:22
|
Line 1
|
Line 1
|
path=`pwd` |
path=`pwd` |
cd $1 |
htmldir='/home/httpd/html' |
echo $path/ckeditor_3.1.tar.gz |
if [ -e "$htmldir/fckeditor" ] |
tar xzf $path/ckeditor_3.1.tar.gz |
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 |
cp $path/loncapaconfig.js ckeditor/loncapaconfig.js |