packages: fixup script

This commit is contained in:
Dmitriy Pleshevskiy 2024-02-27 20:33:07 +03:00
parent eb5c12da4b
commit 91d8c45b54
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -178,7 +178,7 @@ git stash # stash potential typechange
# Remove encrypted files and git-crypt # Remove encrypted files and git-crypt
git crypt status -e |sed -E 's/^\s+encrypted: //g' > "${TMPFILE}" git crypt status -e |sed -E 's/^\s+encrypted: //g' > "${TMPFILE}"
if [ -s "${TMPFILE}" ]; then if [ -s "${TMPFILE}" ]; then
awk '{print $2}' ${TMPFILE} | xargs rm <"${TMPFILE}" xargs rm
#xargs -I {} -- rm -- {} < "${TMPFILE}" #xargs -I {} -- rm -- {} < "${TMPFILE}"
git commit -a -m "Remove encrypted files" git commit -a -m "Remove encrypted files"
fi fi