anchor.diff:  		    then
   			for j in $i/conf/Catalina/*
   			do
  -			    ln -sf $j ${cfg.baseDir}/conf/Catalina/localhost/`basename $j`
  +			    ln -sfn $j ${cfg.baseDir}/conf/Catalina/localhost/`basename $j`
   			done
   		    fi
   		fi
  
positive.code: 		if [ -f $i ]
  		then
  		    # If the given web application is a file, symlink it into the common/lib/ directory
  		    ln -sf $i ${cfg.baseDir}/lib/`basename $i`
  		elif [ -d $i ]
  		then
  		    # If the given web application is a directory, then iterate over the files
  
negative.code: 	    # Symlink the config files in the conf/ directory (except for catalina.properties and server.xml)
  	    for i in $(ls ${pkgs.tomcat6}/conf | grep -v catalina.properties | grep -v server.xml)
  	    do
  	        ln -sfn ${pkgs.tomcat6}/conf/$i ${cfg.baseDir}/conf/`basename $i`
  	    done
  	    
  	    # Create a modified catalina.properties file 
  