mirror of https://github.com/gorhill/uBlock.git
moving update checksums script to tools
This commit is contained in:
parent
5a47c95b2c
commit
57b037be18
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue