mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
macOS: Create symlink to VeraCrypt binary at /usr/local/bin/veracrypt during installation
This makes it easier to use the VeraCrypt CLI in a manner similar to Linux systems.
This commit is contained in:
@@ -7,4 +7,10 @@ fi
|
||||
|
||||
chmod -R go-w /Applications/VeraCrypt.app
|
||||
|
||||
# create simlink to VeraCrypt binary in /usr/local/bin
|
||||
if !([ -e "/usr/local/bin/veracrypt" ])
|
||||
then
|
||||
ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt /usr/local/bin/veracrypt
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -2,4 +2,10 @@
|
||||
|
||||
chmod -R go-w /Applications/VeraCrypt.app
|
||||
|
||||
# create simlink to VeraCrypt binary in /usr/local/bin
|
||||
if !([ -e "/usr/local/bin/veracrypt" ])
|
||||
then
|
||||
ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt /usr/local/bin/veracrypt
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user