mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 19:38:26 -06:00
Add VeraCrypt specific Linux packaging code in Makefiles and add various helper scripts. The original TrueCrypt sources didn't contain anything about this.
This commit is contained in:
13
src/Setup/Linux/veracrypt-uninstall.sh
Normal file
13
src/Setup/Linux/veracrypt-uninstall.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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/veracrypt/doc/License.txt
|
||||
rm -f '/usr/share/veracrypt/doc/VeraCrypt User Guide.pdf'
|
||||
rm -f /usr/share/applications/veracrypt.desktop
|
||||
rm -f /usr/share/pixmaps/veracrypt.xpm
|
||||
rmdir /usr/share/veracrypt/doc /usr/share/veracrypt
|
||||
|
||||
echo VeraCrypt uninstalled.
|
||||
rm -f /usr/bin/veracrypt-uninstall.sh
|
||||
Reference in New Issue
Block a user