From 665166e9d0a84637dea6694ce6b1758651f67103 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 15 Apr 2018 06:55:54 -0400 Subject: [PATCH] remove obsolete shell scripts --- tools/make-noassets.sh | 15 -------------- tools/update-checksums.sh | 41 --------------------------------------- 2 files changed, 56 deletions(-) delete mode 100755 tools/make-noassets.sh delete mode 100755 tools/update-checksums.sh diff --git a/tools/make-noassets.sh b/tools/make-noassets.sh deleted file mode 100755 index ee93688dc..000000000 --- a/tools/make-noassets.sh +++ /dev/null @@ -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." diff --git a/tools/update-checksums.sh b/tools/update-checksums.sh deleted file mode 100755 index 950bc93cc..000000000 --- a/tools/update-checksums.sh +++ /dev/null @@ -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/