--- loncom/html/adm/ckeditor/commands 2009/12/22 03:32:13 1.1
+++ loncom/html/adm/ckeditor/commands 2013/07/16 14:14:51 1.5
@@ -1,5 +1,14 @@
path=`pwd`
-cd $1
-echo $path/ckeditor_3.0.1.tar.gz
-tar xzf $path/ckeditor_3.0.1.tar.gz
+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.6.1.tar.gz
+tar -zxf $path/ckeditor_3.6.6.1.tar.gz
cp $path/loncapaconfig.js ckeditor/loncapaconfig.js