Merge pull request #241 from mikhaelkh/master

Minor fixes
pull/2/head
Raymond Hill 10 years ago
commit 9f51e49725

@ -1,4 +1,4 @@
4a3dedc1e913ac1dbb316606a4b5306d assets/umatrix/hosts-files.json 6c5b3873bdb65ad6b4f8c90eb254277e assets/umatrix/hosts-files.json
188ce926323d816ae9d7d5ebbb567862 assets/umatrix/blacklist.txt 188ce926323d816ae9d7d5ebbb567862 assets/umatrix/blacklist.txt
1beb3b4b6458f6d3988b91cd981a97f0 assets/thirdparties/mirror1.malwaredomains.com/files/immortal_domains.txt 1beb3b4b6458f6d3988b91cd981a97f0 assets/thirdparties/mirror1.malwaredomains.com/files/immortal_domains.txt
7f0443f3dcc9abfd47cfbc95ce824ddb assets/thirdparties/mirror1.malwaredomains.com/files/README.md 7f0443f3dcc9abfd47cfbc95ce824ddb assets/thirdparties/mirror1.malwaredomains.com/files/README.md

@ -17,7 +17,7 @@
}, },
"hosts-file.net/ad-servers": { "hosts-file.net/ad-servers": {
"title": "hpHostss Ad and tracking servers", "title": "hpHostss Ad and tracking servers",
"homeURL": "http://hosts-file.net/.%5Cad_servers.txt" "homeURL": "http://hosts-file.net/ad_servers.txt"
}, },
"someonewhocares.org/hosts/hosts": { "someonewhocares.org/hosts/hosts": {
"title": "Dan Pollocks hosts file", "title": "Dan Pollocks hosts file",

@ -2,12 +2,12 @@
# #
# This script assumes a linux environment # 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 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' 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 git push origin master
echo "*** µMatrix: git done." echo "*** uMatrix: git done."

@ -2,8 +2,8 @@
# #
# This script assumes a linux environment # This script assumes a linux environment
echo "*** µMatrix(Chromium): Creating package" echo "*** uMatrix(Chromium): Creating package"
echo "*** µMatrix(Chromium): Copying files" echo "*** uMatrix(Chromium): Copying files"
DES=./dist/build/uMatrix.chromium DES=./dist/build/uMatrix.chromium
rm -rf $DES rm -rf $DES
@ -19,10 +19,10 @@ cp ./platform/chromium/manifest.json $DES/
cp LICENSE.txt $DES/ cp LICENSE.txt $DES/
if [ "$1" = all ]; then if [ "$1" = all ]; then
echo "*** µMatrix.chromium: Creating package..." echo "*** uMatrix.chromium: Creating package..."
pushd $(dirname $DES/) pushd $(dirname $DES/)
zip uMatrix.chromium.zip -qr $(basename $DES/)/* zip uMatrix.chromium.zip -qr $(basename $DES/)/*
popd popd
fi fi
echo "*** µMatrix(Chromium): Package done." echo "*** uMatrix(Chromium): Package done."

@ -2,6 +2,6 @@
# #
# This script assumes a linux environment # This script assumes a linux environment
echo "*** µMatrix(Chromium): Cleaning." echo "*** uMatrix(Chromium): Cleaning."
rm -R ./dist/* rm -R ./dist/*
echo "*** µMatrix(Chromium): Cleaned." echo "*** uMatrix(Chromium): Cleaned."

@ -4,7 +4,7 @@
TEMPFILE=/tmp/umatrix-asset TEMPFILE=/tmp/umatrix-asset
echo "*** µMatrix: updating remote assets..." echo "*** uMatrix: updating remote assets..."
THIRDPARTY_REMOTEURLS=( THIRDPARTY_REMOTEURLS=(
'http://mirror1.malwaredomains.com/files/immortal_domains.txt' 'http://mirror1.malwaredomains.com/files/immortal_domains.txt'

@ -2,12 +2,12 @@
# #
# This script assumes a linux environment # This script assumes a linux environment
echo "*** µMatrix: generating checksums.txt file..." echo "*** uMatrix: generating checksums.txt file..."
truncate -s 0 assets/checksums.txt truncate -s 0 assets/checksums.txt
LIST="$(find assets/umatrix assets/thirdparties -type f)" LIST="$(find assets/umatrix assets/thirdparties -type f)"
for ENTRY in $LIST; do for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt echo `md5sum $ENTRY` >> assets/checksums.txt
done done
echo "*** µMatrix: checksums updated." echo "*** uMatrix: checksums updated."

Loading…
Cancel
Save