diff options
author | El Mostafa Idrassi <el-mostafa.idrassi@prestalab.net> | 2019-10-04 20:33:46 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-04 21:33:46 +0200 |
commit | d2c53bc37317b0e9400f48b4b87a020773b05347 (patch) | |
tree | db6c57a5ff9d01332f5c11c11b6353650841070c /src/Build/Packaging/debian-control/prerm | |
parent | 48ef6c3736db3dab13ea9befe2239bec65df939e (diff) | |
download | VeraCrypt-d2c53bc37317b0e9400f48b4b87a020773b05347.tar.gz VeraCrypt-d2c53bc37317b0e9400f48b4b87a020773b05347.zip |
Linux: Added CMake script for creating .DEBs and .RPMs for VeraCrypt using CPack, and shell scripts which build then package VeraCrypt under CentOS and Debian/Ubuntu. (#511)
The DEB script builds VeraCrypt and links it against wxWidgets that comes with the distribution.
The RPM script awaits for wxWidgets-3.0.4 source code which it builds then links VeraCrypt statically to it.
Both scripts create the corresponding package after the build.
Diffstat (limited to 'src/Build/Packaging/debian-control/prerm')
-rw-r--r-- | src/Build/Packaging/debian-control/prerm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Build/Packaging/debian-control/prerm b/src/Build/Packaging/debian-control/prerm new file mode 100644 index 00000000..e9deafc3 --- /dev/null +++ b/src/Build/Packaging/debian-control/prerm @@ -0,0 +1,9 @@ +#!/bin/sh +V="$(mount | grep veracrypt_aux_mnt)" +if [ ! -z "$V" ] +then + echo "Error: All VeraCrypt volumes must be dismounted first." + exit 1 +else + exit 0 +fi
\ No newline at end of file |