webapps.mason.docs-update: recover properly if previous update attempt fails
							parent
							
								
									b5ed5b8821
								
							
						
					
					
						commit
						52b11a88a6
					
				| 
						 | 
				
			
			@ -11,6 +11,8 @@ IN: webapps.mason.docs-update
 | 
			
		|||
 | 
			
		||||
: update-docs ( -- )
 | 
			
		||||
    home [
 | 
			
		||||
        "newdocs" exists? [ "newdocs" delete-tree ] when
 | 
			
		||||
 | 
			
		||||
        "newdocs" make-directory
 | 
			
		||||
        "newdocs" [ { "tar" "xfz" } docs-path suffix try-process ] with-directory
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue