tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 58e2b26694b1ed73d04e61722295653cc94957cb
parent 7b2fc78b1974297b3278e21e0784a4542640f115
Author: DJR <jaromil@dyne.org>
Date:   Mon,  1 Aug 2011 13:32:54 -0700

Merge pull request #16 from davinerd/dependencies

all dependencies are checked for at startup
Diffstat:
Msrc/tomb | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/tomb b/src/tomb @@ -84,6 +84,18 @@ check_bin() { STEGHIDE=0 fi + which cryptsetup > /dev/null + if [ $? != 0 ]; then + error "Cannot find cryptsetup. Please install it." + exit 1 + fi + + which pinentry > /dev/null + if [ $? != 0 ]; then + error "Cannot find pinentry. Please install it." + exit 1 + fi + # check for tomb-open script if [ "$0" = "./tomb" ]; then TOMBOPENEXEC="./tomb-open"