uBlock/tools/update-checksums.sh
2016-01-31 12:17:04 -05:00

12 lines
325 B
Bash
Executable file

#!/usr/bin/env bash
#
# This script assumes a linux environment
echo "*** uBlock: generating checksums.txt file..."
truncate -s 0 assets/checksums.txt
LIST="$(find assets/ublock assets/thirdparties -type f)"
for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt
done
echo "*** uBlock: checksums updated."