Skip to content

Commit

Permalink
update the addons.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrights committed Dec 9, 2018
1 parent 90a83c0 commit 4635664
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions download-addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,17 @@

DOWNDIR=$(pwd)

# Download the EFF Privacy Badger add-on. But may be incompatible via such way of installation.
EFF=
SOURCE=("https://www.eff.org/files/privacy-badger-latest.xpi")
/usr/bin/wget -c -P $DOWNDIR -t 5 $SOURCE || echo "This add-on may not be downloaded."


# Download the noscript add-on.
NS=5.0.5
NS=10.1.9.9
SOURCE=("https://secure.informaction.com/download/releases/noscript-${NS}.xpi")
/usr/bin/wget -c -P $DOWNDIR -t 5 $SOURCE || echo "This addon may not be downloaded successfully."
#unzip -qqo "noscript-${NS}.xpi" -d "noscript-${NS}"

#_extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' noscript-${NS}/install.rdf)"
#_extension_dest="$PKG/usr/lib64/icecat-$ICVER/browser/extensions/${_extension_id}"

# if grep '<em:unpack>true</em:unpack>' noscript-${NS}/install.rdf > /dev/null; then
# install -dm755 "${_extension_dest}"
# cp -R noscript-${NS}/* "${_extension_dest}"
# chmod -R ugo+rX "${_extension_dest}"
# else
# install -Dm644 noscript-${NS}.xpi "${_extension_dest}.xpi"
# fi




Binary file removed [email protected]
Binary file not shown.
Binary file removed [email protected]
Binary file not shown.
Binary file removed [email protected]
Binary file not shown.
Binary file added noscript-10.1.9.9.xpi
Binary file not shown.
Binary file added privacy-badger-latest.xpi
Binary file not shown.
Binary file removed {73a6fe31-595d-460b-a920-fcc0f8843232}.xpi
Binary file not shown.

0 comments on commit 4635664

Please sign in to comment.