Explode if can't clone the app
This commit is contained in:
		
							
								
								
									
										5
									
								
								abra
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								abra
									
									
									
									
									
								
							@ -435,7 +435,10 @@ sub_app_new (){
 | 
			
		||||
    # FIXME 3wc: move to require_app_clone or something
 | 
			
		||||
    warning "'$APP' not found, fetching via git.."
 | 
			
		||||
 | 
			
		||||
    git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"
 | 
			
		||||
    if ! git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"; then
 | 
			
		||||
      error "Could not retrieve '$APP', this app doesn't exist?"
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  if [ -z "$DOMAIN" ]; then
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user