diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-02 13:20:04 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-02 13:20:04 +0000 |
commit | 6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f (patch) | |
tree | 85e7694e00578f4353b3f7da419d4749437e0532 /veracrypt/debian/prerm | |
parent | Merge branch 'freefilesync-dpkg' into 'master' (diff) | |
parent | add veracrypt dpkg first draft (diff) | |
download | stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.tar.gz stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.tar.bz2 stackrpms-6fd541d7510f66d91a38a83b1a3ff01ae6fbfe3f.zip |
Merge branch 'veracrypt-dpkg' into 'master'
veracrypt dpkg for devuan
See merge request bgstack15/stackrpms!34
Diffstat (limited to 'veracrypt/debian/prerm')
-rw-r--r-- | veracrypt/debian/prerm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/veracrypt/debian/prerm b/veracrypt/debian/prerm new file mode 100644 index 0000000..baa2e73 --- /dev/null +++ b/veracrypt/debian/prerm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|upgrade|deconfigure|failed-upgrade) + (mount | grep -q veracrypt_aux_mnt) && + echo "Error: all VeraCrypt volumes must be unmounted before upgrade." && exit 1 + exit 0 + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |