mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-26 12:22:50 +01:00
updated script to pull all from uAssets
This commit is contained in:
parent
de1ed89f62
commit
1357cd0bd9
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user