diff options
Diffstat (limited to 'src/Setup/FreeBSD/veracrypt-uninstall.sh')
-rw-r--r-- | src/Setup/FreeBSD/veracrypt-uninstall.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Setup/FreeBSD/veracrypt-uninstall.sh b/src/Setup/FreeBSD/veracrypt-uninstall.sh new file mode 100644 index 00000000..f8f111e2 --- /dev/null +++ b/src/Setup/FreeBSD/veracrypt-uninstall.sh @@ -0,0 +1,11 @@ +#!/bin/sh +V="$(mount | grep veracrypt_aux_mnt)" +[ "$V" ] && echo Error: All volumes must be dismounted first. && exit 1 + +rm -f /usr/bin/veracrypt +rm -f /usr/share/applications/veracrypt.desktop +rm -f /usr/share/pixmaps/veracrypt.xpm +rm -fr /usr/share/veracrypt + +echo VeraCrypt uninstalled. +rm -f /usr/bin/veracrypt-uninstall.sh |