| 
				
			 | 
			
			
				@@ -200,6 +200,11 @@ function upgrade_postactiv { 
			 | 
		
	
		
			
			| 
				200
			 | 
			
				200
			 | 
			
			
				     function_check set_repo_commit 
			 | 
		
	
		
			
			| 
				201
			 | 
			
				201
			 | 
			
			
				     set_repo_commit /var/www/$POSTACTIV_DOMAIN_NAME/htdocs "postactiv commit" "$POSTACTIV_COMMIT" $POSTACTIV_REPO 
			 | 
		
	
		
			
			| 
				202
			 | 
			
				202
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				203
			 | 
			
			
				+    # Ensure that installation script is removed 
			 | 
		
	
		
			
			| 
				
			 | 
			
				204
			 | 
			
			
				+    if [ -f /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				205
			 | 
			
			
				+        rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php 
			 | 
		
	
		
			
			| 
				
			 | 
			
				206
			 | 
			
			
				+    fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				207
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				203
			 | 
			
				208
			 | 
			
			
				     #function_check postactiv_running_script 
			 | 
		
	
		
			
			| 
				204
			 | 
			
				209
			 | 
			
			
				     #postactiv_running_script 
			 | 
		
	
		
			
			| 
				205
			 | 
			
				210
			 | 
			
			
				 } 
			 |