Commit d0ada0a3 authored by spriver's avatar spriver
Browse files

Added hook for uBlock patterns+settings file conversion

parent 659ea1bf
#!/bin/sh
set -e
apt-get install sqlite3
echo "Converting uBlock database dump into sqlite blob"
mkdir /etc/tor-browser/profile/extension-data/
cp /usr/share/tails/ublock-origin/ublock0.dump /etc/tor-browser/profile/extension-data/
cat /etc/tor-browser/profile/extension-data/ublock0.dump | sqlite3 /etc/tor-browser/profile/extension-data/ublock0.sqlite
rm /etc/tor-browser/profile/extension-data/ublock0.dump
echo "Created uBlock sqlite blob successfully"
apt-get purge --remove --yes sqlite3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment