From d2c53bc37317b0e9400f48b4b87a020773b05347 Mon Sep 17 00:00:00 2001 From: El Mostafa Idrassi Date: Fri, 4 Oct 2019 20:33:46 +0100 Subject: 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. --- src/Build/Packaging/debian-control/prerm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/Build/Packaging/debian-control/prerm (limited to 'src/Build/Packaging/debian-control/prerm') 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 -- cgit v1.2.3