Index: /drbl-biocluster/BioCluster_Setup.sh
===================================================================
--- /drbl-biocluster/BioCluster_Setup.sh	(revision 92)
+++ /drbl-biocluster/BioCluster_Setup.sh	(revision 93)
@@ -6,4 +6,19 @@
 fi
 
+case "$1" in
+  clean)
+    sudo rm -rf add_path ape_2.3-1.tar.gz biocLite.R BioConductor.R blast gee_4.13-13.tar.gz GPG-KEY-DRBL lattice_0.17-25.tar.gz mito.nt.gz mpiblast-1.5.0-pio mpiBLAST-1.5.0-pio.tgz mpich2-1.0.8p1 mpich2-1.0.8p1.tar.gz nlme_3.1-92.tar.gz Rmpi_0.5-7.tar.gz torque-2.3.6 torque-2.3.6.tar.gz wwwblast-2.2.20-ia32-linux.tar.gz
+    exit 0;
+    ;;
+  install)
+    biocluster_setup
+    ;;
+  *)
+    echo "Usage: $0 [ install | clean ]"
+    ;;
+esac
+
+biocluster_setup()
+{
 #####################################################################
 # 以下為基本程式設計與生資相關自由軟體
@@ -147,11 +162,14 @@
 fi
 
-wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/mito.nt.gz
+if [ ! -e mito.nt.gz ]; then
+  wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/mito.nt.gz
+fi
 
-cat > add_path << EOF
+if [ ! -e add_path ]; then
+  cat > add_path << EOF
 echo "export PATH=\\\$PATH:/opt/torque/bin:/opt/mpich2/bin:/opt/mpiblast/bin" >> /etc/profile
 EOF
-sudo sh add_path
-
+  sudo sh add_path
+fi
 #####################################################################
 # 電腦叢集的網頁監控機制
@@ -177,2 +195,3 @@
   sudo /opt/drbl/sbin/drblpush -i
 fi
+}
