mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-20 03:30:59 +00:00
added cryptsetup and pinentry binary checks to check_bin()
This commit is contained in:
parent
b18ef6c27b
commit
d4de059e39
12
src/tomb
12
src/tomb
@ -84,6 +84,18 @@ check_bin() {
|
|||||||
STEGHIDE=0
|
STEGHIDE=0
|
||||||
fi
|
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
|
# check for tomb-open script
|
||||||
if [ "$0" = "./tomb" ]; then
|
if [ "$0" = "./tomb" ]; then
|
||||||
TOMBOPENEXEC="./tomb-open"
|
TOMBOPENEXEC="./tomb-open"
|
||||||
|
Loading…
Reference in New Issue
Block a user