moving update checksums script to tools

This commit is contained in:
gorhill 2015-12-16 11:25:40 -05:00
parent 5a47c95b2c
commit 57b037be18
1 changed files with 0 additions and 3 deletions

View File

@ -3,13 +3,10 @@
# This script assumes a linux environment # This script assumes a linux environment
echo "*** uBlock: generating checksums.txt file..." echo "*** uBlock: generating checksums.txt file..."
pushd ..
truncate -s 0 assets/checksums.txt truncate -s 0 assets/checksums.txt
LIST="$(find assets/ublock assets/thirdparties -type f)" LIST="$(find assets/ublock assets/thirdparties -type f)"
for ENTRY in $LIST; do for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt echo `md5sum $ENTRY` >> assets/checksums.txt
done done
popd
echo "*** uBlock: checksums updated." echo "*** uBlock: checksums updated."