1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-27 02:20:50 +12:00
uMatrix/tools/update-checksums.sh
mikhaelkh f24e9a907f Minor fixes
µMatrix -> uMatrix in tools folder.
Small fix in hosts-files.json.
2015-05-29 23:49:41 +03:00

14 lines
321 B
Bash
Executable file

#!/bin/bash
#
# This script assumes a linux environment
echo "*** uMatrix: generating checksums.txt file..."
truncate -s 0 assets/checksums.txt
LIST="$(find assets/umatrix assets/thirdparties -type f)"
for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt
done
echo "*** uMatrix: checksums updated."