1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 18:32:45 +01:00

updated script to pull all from uAssets

This commit is contained in:
gorhill 2016-04-02 08:31:29 -04:00
parent de1ed89f62
commit 1357cd0bd9

View File

@ -17,7 +17,8 @@ filters=(
'../uAssets/filters/unbreak.txt'
)
for repoPath in "${filters[@]}"; do
echo `md5sum $repoPath` | sed 's/\.\.\/uAssets\/filters/assets\/ublock/' >> assets/checksums.txt
localPath=`printf $repoPath | sed 's/\.\.\/uAssets\/filters/assets\/ublock/'`
echo `md5sum $localPath` >> assets/checksums.txt
done
thirdparties=(
@ -29,7 +30,8 @@ thirdparties=(
'../uAssets/thirdparties/www.malwaredomainlist.com/hostslist/hosts.txt'
)
for repoPath in "${thirdparties[@]}"; do
echo `md5sum $repoPath` | sed 's/\.\.\/uAssets\/thirdparties/assets\/thirdparties/' >> assets/checksums.txt
localPath=`printf $repoPath | sed 's/\.\.\/uAssets\/thirdparties/assets\/thirdparties/'`
echo `md5sum $localPath` >> assets/checksums.txt
done
echo "*** uBlock: checksums updated."