feat: Skip checksumming

Closes https://todo.sr.ht/~earnestma/aptpkg/4
main
earnest ma 2021-10-07 22:01:53 -04:00
parent d5b93744a2
commit 9faefc5d50
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 3 additions and 1 deletions

4
aptpkg
View File

@ -29,7 +29,9 @@ error_usage_die(){
# Verify sha512sums # Verify sha512sums
verify(){ verify(){
echo "${sha512sums:?}" | sha512sum -c if [ ! "${sha512sums:?}" = "SKIP" ]; then
echo "${sha512sums:?}" | sha512sum -c
fi
} }
# Copy/ install wrapper for files # Copy/ install wrapper for files