VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Setup/FreeBSD/veracrypt-uninstall.sh
blob: e29dbcccab999ac6c75f7cd9b99d6541709a2d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
rm -fr /usr/share/doc/veracrypt

echo VeraCrypt uninstalled.
rm -f /usr/bin/veracrypt-uninstall.sh