Skip to content

Commit

Permalink
init: fix nvidia library integration. Fix #1064
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Nov 20, 2023
1 parent c35d792 commit 9ad8087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ if [ "${nvidia}" -eq 1 ]; then
# this may happen for directories like /usr/lib/nvidia/xorg/foo.so
# where the directory is already bind mounted (ro) and we don't need
# to mount further files in it.
if [ -e "${nvidia_lib}" ]; then
if [ -e "${dest_file}" ]; then
continue
fi

Expand Down

0 comments on commit 9ad8087

Please sign in to comment.