don't start webapp when in a git repo that has not been git-annex initted
Maybe later it can prompt if they want to use the repo with git-annex, but for now this is a sane easy choice.
This commit is contained in:
		
					parent
					
						
							
								04794eafc0
							
						
					
				
			
			
				commit
				
					
						1efb0d109e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -21,7 +21,7 @@ import qualified Command.Watch
 | 
				
			||||||
import Control.Concurrent.STM
 | 
					import Control.Concurrent.STM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def :: [Command]
 | 
					def :: [Command]
 | 
				
			||||||
def = [oneShot $ noRepo firstRun $ dontCheck repoExists $
 | 
					def = [oneShot $ noRepo firstRun $
 | 
				
			||||||
	withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption] $
 | 
						withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption] $
 | 
				
			||||||
        command "webapp" paramNothing seek "launch webapp"]
 | 
					        command "webapp" paramNothing seek "launch webapp"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue