new and improved

This commit is contained in:
committer@tuxwarrior
2026-03-18 09:06:52 -05:00
parent 424249f6a7
commit ea5c33698f

View File

@@ -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}'"