aboutsummaryrefslogtreecommitdiffstats
path: root/assets/update-checksums.sh
blob: b42e29141944c809d1f60f9eb07eefea79622619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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."