packages: fixup script

This commit is contained in:
Dmitriy Pleshevskiy 2024-02-28 17:21:40 +03:00
parent 91d8c45b54
commit 50fa4f9638
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -211,14 +211,14 @@ do
done done
cd "${CURRENT_DIR}" cd "${CURRENT_DIR}"
for encrypted_file in $(awk '{print $2}' ${TMPDIR}/${BASENAME}/${TMPFILE}); do while read encrypted_file; do
rsync -rp -R "${encrypted_file}" "${TMPDIR}/${BASENAME}" rsync -rp -R "${encrypted_file}" "${TMPDIR}/${BASENAME}"
done done < ${TMPDIR}/${BASENAME}/${TMPFILE}
cd "${TMPDIR}/${BASENAME}" cd "${TMPDIR}/${BASENAME}"
for encrypted_file in $(awk '{print $2}' ${TMPFILE}); do while read encrypted_file; do
git add "${encrypted_file}" git add "${encrypted_file}"
done done < ${TMPDIR}/${BASENAME}/${TMPFILE}
git commit -m "New encrypted files" || true git commit -m "New encrypted files" || true
popd popd