mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-10-31 00:48:07 +00:00 
			
		
		
		
	Merge pull request #1060 from parkervcp/update/download_validator
update download script
This commit is contained in:
		
						commit
						1e15064459
					
				| @ -1,6 +1,6 @@ | ||||
| ## this is a simple script to validate a download url actaully exists | ||||
| 
 | ||||
| if [ ! -z "${DOWNLOAD_URL}"]; then  | ||||
| if [ ! -z "${DOWNLOAD_URL}" ]; then  | ||||
|     if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then | ||||
|         echo -e "link is valid. setting download link to ${DOWNLOAD_URL}" | ||||
|         DOWNLOAD_LINK=${DOWNLOAD_URL} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user