uBlock/tools/update-checksums.sh

13 lines
317 B
Bash
Raw Normal View History

#!/bin/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."