1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-29 03:21:09 +12:00
uMatrix/tools/update-checksums.sh

14 lines
323 B
Bash
Raw Normal View History

2014-10-18 08:01:09 +13:00
#!/bin/bash
#
# This script assumes a linux environment
2014-10-24 03:33:50 +13:00
echo "*** µMatrix: generating checksums.txt file..."
2014-10-18 08:01:09 +13:00
truncate -s 0 assets/checksums.txt
2014-10-24 03:33:50 +13:00
LIST="$(find assets/umatrix assets/thirdparties -type f)"
2014-10-18 08:01:09 +13:00
for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt
done
2014-10-24 03:33:50 +13:00
echo "*** µMatrix: checksums updated."
2014-10-18 08:01:09 +13:00