mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-05-18 03:03:38 +12:00
Minor fixes
µMatrix -> uMatrix in tools folder. Small fix in hosts-files.json.
This commit is contained in:
parent
cef90f0b20
commit
f24e9a907f
|
@ -1,4 +1,4 @@
|
|||
4a3dedc1e913ac1dbb316606a4b5306d assets/umatrix/hosts-files.json
|
||||
6c5b3873bdb65ad6b4f8c90eb254277e assets/umatrix/hosts-files.json
|
||||
188ce926323d816ae9d7d5ebbb567862 assets/umatrix/blacklist.txt
|
||||
1beb3b4b6458f6d3988b91cd981a97f0 assets/thirdparties/mirror1.malwaredomains.com/files/immortal_domains.txt
|
||||
7f0443f3dcc9abfd47cfbc95ce824ddb assets/thirdparties/mirror1.malwaredomains.com/files/README.md
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
"hosts-file.net/ad-servers": {
|
||||
"title": "hpHosts’s Ad and tracking servers",
|
||||
"homeURL": "http://hosts-file.net/.%5Cad_servers.txt"
|
||||
"homeURL": "http://hosts-file.net/ad_servers.txt"
|
||||
},
|
||||
"someonewhocares.org/hosts/hosts": {
|
||||
"title": "Dan Pollock’s hosts file",
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
#
|
||||
# This script assumes a linux environment
|
||||
|
||||
echo "*** µMatrix: git adding changed assets..."
|
||||
echo "*** uMatrix: git adding changed assets..."
|
||||
git add --update --ignore-removal --ignore-errors assets
|
||||
echo "*** µMatrix: git committing assets..."
|
||||
echo "*** uMatrix: git committing assets..."
|
||||
git commit -m 'update of third-party assets'
|
||||
echo "*** µMatrix: git pushing assets to remote master..."
|
||||
echo "*** uMatrix: git pushing assets to remote master..."
|
||||
git push origin master
|
||||
|
||||
echo "*** µMatrix: git done."
|
||||
echo "*** uMatrix: git done."
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#
|
||||
# This script assumes a linux environment
|
||||
|
||||
echo "*** µMatrix(Chromium): Creating package"
|
||||
echo "*** µMatrix(Chromium): Copying files"
|
||||
echo "*** uMatrix(Chromium): Creating package"
|
||||
echo "*** uMatrix(Chromium): Copying files"
|
||||
|
||||
DES=./dist/build/uMatrix.chromium
|
||||
rm -rf $DES
|
||||
|
@ -19,10 +19,10 @@ cp ./platform/chromium/manifest.json $DES/
|
|||
cp LICENSE.txt $DES/
|
||||
|
||||
if [ "$1" = all ]; then
|
||||
echo "*** µMatrix.chromium: Creating package..."
|
||||
echo "*** uMatrix.chromium: Creating package..."
|
||||
pushd $(dirname $DES/)
|
||||
zip uMatrix.chromium.zip -qr $(basename $DES/)/*
|
||||
popd
|
||||
fi
|
||||
|
||||
echo "*** µMatrix(Chromium): Package done."
|
||||
echo "*** uMatrix(Chromium): Package done."
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
#
|
||||
# This script assumes a linux environment
|
||||
|
||||
echo "*** µMatrix(Chromium): Cleaning."
|
||||
echo "*** uMatrix(Chromium): Cleaning."
|
||||
rm -R ./dist/*
|
||||
echo "*** µMatrix(Chromium): Cleaned."
|
||||
echo "*** uMatrix(Chromium): Cleaned."
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
TEMPFILE=/tmp/umatrix-asset
|
||||
|
||||
echo "*** µMatrix: updating remote assets..."
|
||||
echo "*** uMatrix: updating remote assets..."
|
||||
|
||||
THIRDPARTY_REMOTEURLS=(
|
||||
'http://mirror1.malwaredomains.com/files/immortal_domains.txt'
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
#
|
||||
# This script assumes a linux environment
|
||||
|
||||
echo "*** µMatrix: generating checksums.txt file..."
|
||||
echo "*** uMatrix: generating checksums.txt file..."
|
||||
truncate -s 0 assets/checksums.txt
|
||||
LIST="$(find assets/umatrix assets/thirdparties -type f)"
|
||||
for ENTRY in $LIST; do
|
||||
echo `md5sum $ENTRY` >> assets/checksums.txt
|
||||
done
|
||||
|
||||
echo "*** µMatrix: checksums updated."
|
||||
echo "*** uMatrix: checksums updated."
|
||||
|
||||
|
|
Loading…
Reference in a new issue