13 lines
		
	
	
		
			296 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			296 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/sh
							 | 
						||
| 
								 | 
							
								if [ -f "/usr/local/lib/libnd4jcpu.so" ]; then
							 | 
						||
| 
								 | 
							
								    cat >/etc/ld.so.conf.d/libnd4jcpu.conf <<EOF
							 | 
						||
| 
								 | 
							
								/usr/local/lib/libnd4jcpu.so
							 | 
						||
| 
								 | 
							
								EOF
							 | 
						||
| 
								 | 
							
								else if [ -f "/usr/local/lib/libnd4jcuda.so" ]; then
							 | 
						||
| 
								 | 
							
								    cat >/etc/ld.so.conf.d/libnd4jcuda.conf <<EOF
							 | 
						||
| 
								 | 
							
								/usr/local/lib/libnd4jcuda.so
							 | 
						||
| 
								 | 
							
								EOF
							 | 
						||
| 
								 | 
							
								     fi
							 | 
						||
| 
								 | 
							
								fi
							 | 
						||
| 
								 | 
							
								ldconfig
							 |