1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-27 18:40:41 +12:00
uMatrix/assets/update-checksums.sh
2014-10-23 10:14:13 -04:00

16 lines
352 B
Bash
Executable file

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