mirror of
				https://github.com/GayPizzaSpecifications/foundation.git
				synced 2025-11-04 11:39:39 +00:00 
			
		
		
		
	Add check for curl and jq.
This commit is contained in:
		@ -4,6 +4,13 @@ set -e
 | 
				
			|||||||
echo "This script installs Foundation, it is developed against Paper and may depend on"
 | 
					echo "This script installs Foundation, it is developed against Paper and may depend on"
 | 
				
			||||||
echo "Paper-specific features."
 | 
					echo "Paper-specific features."
 | 
				
			||||||
echo
 | 
					echo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Ensure curl and jq are installed.
 | 
				
			||||||
 | 
					if ! hash curl jq &> /dev/null; then
 | 
				
			||||||
 | 
					    echo "curl and jq must be installed"
 | 
				
			||||||
 | 
					    exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "Installing..."
 | 
					echo "Installing..."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Create the plugins directory if it doesn't exist.
 | 
					# Create the plugins directory if it doesn't exist.
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user