1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-09 12:22:33 +01:00
uBlock/assets/update-checksums.sh

16 lines
332 B
Bash
Raw Normal View History

2014-06-24 00:42:43 +02:00
#!/bin/bash
#
# This script assumes a linux environment
2014-06-24 01:36:45 +02:00
echo "*** uBlock: generating checksums.txt file..."
2014-06-24 00:42:43 +02:00
pushd ..
truncate -s 0 assets/checksums.txt
2014-06-24 01:36:45 +02:00
LIST="$(find assets/ublock assets/thirdparties -type f)"
2014-06-24 00:42:43 +02:00
for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt
done
popd
2014-06-24 01:36:45 +02:00
echo "*** uBlock: checksums updated."
2014-06-24 00:42:43 +02:00