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