diff --git a/dots/bin/importGnupgKeys.sh b/dots/bin/importGnupgKeys.sh index 8a6e0e3..20d6938 100755 --- a/dots/bin/importGnupgKeys.sh +++ b/dots/bin/importGnupgKeys.sh @@ -8,6 +8,16 @@ tmp_dir=/tmp this_file_name=`basename "$0"` echo "$this_file_name" +if [ ! -d ${src_dir} ]; then + echo "error: missing directory '${src_dir}'" + exit 1 +fi + +if [ ! -d ${tmp_dir} ]; then + echo "error: missing directory '${tmp_dir}'" + exit 1 +fi + echo "please, remember the hint: bibL2" # copy .zip.gpg to tmp dir