mirror of
				https://github.com/keylase/nvidia-patch.git
				synced 2025-11-04 06:32:02 +00:00 
			
		
		
		
	docker-entrypoint: do not symlink if there is already one; force if there is not
This commit is contained in:
		@@ -6,8 +6,8 @@ cd /patched-lib && \
 | 
			
		||||
for f in * ; do
 | 
			
		||||
    suffix="${f##*.so}"
 | 
			
		||||
    name="$(basename "$f" "$suffix")"
 | 
			
		||||
    ln -s "$f" "$name"
 | 
			
		||||
    ln -s "$f" "$name.1"
 | 
			
		||||
    [ -h "$name" ] || ln -sf "$f" "$name"
 | 
			
		||||
    [ -h "$name" ] || ln -sf "$f" "$name.1"
 | 
			
		||||
done && \
 | 
			
		||||
ldconfig
 | 
			
		||||
[ "$OLDPWD" ] && cd -
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user