| 
									
										
										
										
											2018-11-11 08:19:04 -08:00
										 |  |  | #!/usr/bin/env bash
 | 
					
						
							|  |  |  | set -ex | 
					
						
							| 
									
										
										
										
											2018-09-08 10:38:32 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | [[ $(uname) = Linux ]] || exit 1 | 
					
						
							|  |  |  | [[ $USER = root ]] || exit 1 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Install libssl-dev to be compatible with binaries built on an Ubuntu machine... | 
					
						
							|  |  |  | apt-get update | 
					
						
							|  |  |  | apt-get --assume-yes install libssl-dev | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Install libssl1.1 to be compatible with binaries built in the | 
					
						
							|  |  |  | # solanalabs/rust docker image | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # cc: https://github.com/solana-labs/solana/issues/1090 | 
					
						
							| 
									
										
										
										
											2019-06-14 08:00:12 -07:00
										 |  |  | apt-get --assume-yes install libssl1.1 |