mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux: during uninstall, output error message to STDERR instead of STDOUT for better compatibility with package managers
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
V="$(mount | grep veracrypt_aux_mnt)"
|
V="$(mount | grep veracrypt_aux_mnt)"
|
||||||
if [ ! -z "$V" ]
|
if [ ! -z "$V" ]
|
||||||
then
|
then
|
||||||
echo "Error: All VeraCrypt volumes must be dismounted first."
|
echo "Error: All VeraCrypt volumes must be dismounted first." >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
V="$(mount | grep veracrypt_aux_mnt)"
|
V="$(mount | grep veracrypt_aux_mnt)"
|
||||||
if [ ! -z "$V" ]
|
if [ ! -z "$V" ]
|
||||||
then
|
then
|
||||||
echo "Error: All VeraCrypt volumes must be dismounted first."
|
echo "Error: All VeraCrypt volumes must be dismounted first." >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
V="$(mount | grep veracrypt_aux_mnt)"
|
V="$(mount | grep veracrypt_aux_mnt)"
|
||||||
[ "$V" ] && echo Error: All volumes must be dismounted first. && exit 1
|
[ "$V" ] && echo Error: All volumes must be dismounted first. >&2 && exit 1
|
||||||
|
|
||||||
rm -f /usr/bin/veracrypt
|
rm -f /usr/bin/veracrypt
|
||||||
rm -f /usr/share/applications/veracrypt.desktop
|
rm -f /usr/share/applications/veracrypt.desktop
|
||||||
|
|||||||
Reference in New Issue
Block a user