remove obsolete shell scripts

This commit is contained in:
Raymond Hill 2018-04-15 06:55:54 -04:00
parent bb0e3264de
commit 665166e9d0
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
2 changed files with 0 additions and 56 deletions

View file

@ -1,15 +0,0 @@
#!/usr/bin/env bash
#
# This script assumes a linux environment
echo "*** uBlock: Creating web store package"
echo "*** uBlock: Copying files"
cp -R css dist/ublock/
cp -R img dist/ublock/
cp -R js dist/ublock/
cp -R lib dist/ublock/
cp -R _locales dist/ublock/
cp *.html dist/ublock/
cp *.txt dist/ublock/
cp manifest.json dist/ublock/
echo "*** uBlock: Package done."

View file

@ -1,41 +0,0 @@
#!/usr/bin/env bash
#
# This script assumes a linux environment
echo "*** uBlock: generating checksums.txt file..."
truncate -s 0 assets/checksums.txt
echo `md5sum assets/ublock/filter-lists.json` >> assets/checksums.txt
filters=(
'../uAssets/filters/badware.txt'
'../uAssets/filters/experimental.txt'
'../uAssets/filters/filters.txt'
'../uAssets/filters/privacy.txt'
'../uAssets/filters/resources.txt'
'../uAssets/filters/unbreak.txt'
)
for repoPath in "${filters[@]}"; do
localPath=`printf $repoPath | sed 's/\.\.\/uAssets\/filters/assets\/ublock/'`
cp $repoPath $localPath
echo `md5sum $localPath` >> assets/checksums.txt
done
thirdparties=(
'../uAssets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt'
'../uAssets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt'
'../uAssets/thirdparties/mirror1.malwaredomains.com/files/justdomains'
'../uAssets/thirdparties/pgl.yoyo.org/as/serverlist'
'../uAssets/thirdparties/publicsuffix.org/list/effective_tld_names.dat'
'../uAssets/thirdparties/www.malwaredomainlist.com/hostslist/hosts.txt'
)
for repoPath in "${thirdparties[@]}"; do
localPath=`printf $repoPath | sed 's/\.\.\/uAssets\/thirdparties/assets\/thirdparties/'`
cp $repoPath $localPath
echo `md5sum $localPath` >> assets/checksums.txt
done
echo "*** uBlock: checksums updated."
git status assets/