VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Setup/MacOSX/postinstall.sh
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-22 20:15:00 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-23 00:05:17 +0200
commit3ac533860c7ea79a49cde45dfce7179e7b258399 (patch)
tree0d9f5f935a978f5c7eeedbf10236b7e001ec57f5 /src/Setup/MacOSX/postinstall.sh
parent7df5a58adc83702b40ec58a435e9c5e1b6062e26 (diff)
downloadVeraCrypt-3ac533860c7ea79a49cde45dfce7179e7b258399.tar.gz
VeraCrypt-3ac533860c7ea79a49cde45dfce7179e7b258399.zip
macOS: During install, set libfuse.2.dylib as symbolic link to libosxfuse.2.dylib if it doesn't already exist
Diffstat (limited to 'src/Setup/MacOSX/postinstall.sh')
-rwxr-xr-xsrc/Setup/MacOSX/postinstall.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Setup/MacOSX/postinstall.sh b/src/Setup/MacOSX/postinstall.sh
new file mode 100755
index 00000000..7ce14ffc
--- /dev/null
+++ b/src/Setup/MacOSX/postinstall.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if !([ -e "/usr/local/lib/libfuse.2.dylib" ])
+then
+ ln -s /usr/local/lib/libosxfuse.2.dylib /usr/local/lib/libfuse.2.dylib
+fi
+
+exit 0