diff options
Diffstat (limited to 'assets/update-checksums.sh')
-rwxr-xr-x | assets/update-checksums.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/assets/update-checksums.sh b/assets/update-checksums.sh new file mode 100755 index 0000000..b42e291 --- /dev/null +++ b/assets/update-checksums.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# +# This script assumes a linux environment + +echo "*** uBlock: generating checksums.txt file..." +pushd .. +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 +popd + +echo "*** uBlock: checksums updated." + |