9 lines
		
	
	
		
			402 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			402 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# - Convert host files and rcopy.conf file created on 
 | 
						|
# - rcopy SVN versions eralier than revision 50
 | 
						|
# -
 | 
						|
cd /root/crontab/rcopy
 | 
						|
sed -i '/^default_config_file=/d' hosts/*.sh
 | 
						|
sed -i '/^rcopy_functions_file=/d' hosts/*.sh
 | 
						|
perl -i -n -p -e "s#\.\s+\\\$default_config_file.*#. \\\$rcopy_conf_file#" hosts/*.sh
 | 
						|
perl -i -n -p -e "s#^crontab_base_dir=.*#crontab_base_dir=\\\$rcopy_base_dir#" conf/rcopy.conf
 |