--- loncom/html/adm/ckeditor/commands 2010/01/30 18:49:59 1.2
+++ loncom/html/adm/ckeditor/commands 2013/01/10 05:36:22 1.4
@@ -1,5 +1,14 @@
path=`pwd`
-cd $1
-echo $path/ckeditor_3.1.tar.gz
-tar xzf $path/ckeditor_3.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.2.tar.gz
+tar -zxf $path/ckeditor_3.6.2.tar.gz
cp $path/loncapaconfig.js ckeditor/loncapaconfig.js