diff --git a/dots/bin/importGnupgKeys.sh b/dots/bin/importGnupgKeys.sh index ac4e61c..bce1e94 100755 --- a/dots/bin/importGnupgKeys.sh +++ b/dots/bin/importGnupgKeys.sh @@ -29,9 +29,6 @@ ls -al ${src_dir} the_file=$(find . -name "*.zip.gpg" -print | head -n 1) echo "file located: '${the_file}'" -# copy .zip.gpg to tmp dir -#cp ${the_file} ${tmp_dir} - # decrypt .gpg gpg --decrypt --output ${tmp_dir}/gpgKeys.zip ${the_file} @@ -41,7 +38,7 @@ unzip -j -d ${tmp_dir} ${tmp_dir}/gpgKeys.zip # delete decrypted zip file srm -v ${tmp_dir}/gpgKeys.zip -# import keys +# import keys, and delete the source files afterwards for file in ${tmp_dir}/*.asc; do echo "processing '${file}'"