X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_eeepc.sh;h=1da21beffbbf5c2a842da8ffd6cd988c788edd51;hb=346e443b2107288ecbbbde876f0e2fae8ff6cb34;hp=ef378f0477688a06aecd1e510b93a421f70364a7;hpb=74320f8dedeef255fdb01166fac1e4acddd804e2;p=config
diff --git a/buster/setup_scripts/setup_eeepc.sh b/buster/setup_scripts/setup_eeepc.sh
index ef378f0..1da21be 100755
--- a/buster/setup_scripts/setup_eeepc.sh
+++ b/buster/setup_scripts/setup_eeepc.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/w
set -e
if [ "$#" -ne 1 ]; then
@@ -29,6 +29,7 @@ update-alternatives --set x-www-browser /opt/firefox/firefox
# Install Firefox plugins.
# See
extensions_dir="/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/"
+mkdir -p "${extensions_dir}"
noscript_xpi="noscript-10.6.xpi"
url_noscript="https://secure.informaction.com/download/releases/${noscript_xpi}"
wget "${url_noscript}"
@@ -36,6 +37,7 @@ name=$(unzip -p "${noscript_xpi}" manifest.json | jq -r .applications.gecko.id)
mv "${noscript_xpi}" "${name}.xpi"
tridactyl_xpi="tridactyl-1.14.9pre2457-an+fx.xpi"
url_tridactyl="https://tridactyl.cmcaine.co.uk/betas/${tridactyl_xpi}"
+wget "${url_tridactyl}"
name=$(unzip -p "${tridactyl_xpi}" manifest.json | jq -r .applications.gecko.id)
mv "${tridactyl_xpi}" "${name}.xpi"
mv *.xpi "${extensions_dir}"
@@ -48,5 +50,7 @@ if [ ! -d "/home/plom" ]; then
usermod -a -G sudo plom
su -c "cd && git clone https://plomlompom.com/repos/clone/config" plom
su -c "~/config/buster/setup_scripts/copy_dirtree.sh ~/config/buster/home_files ~ minimal user_eeepc" plom
+ su -c "curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/78e662efefd1f4af2bdb2a53edecf03b535b997b/native/install.sh | bash" plom
passwd plom
+ echo "As tridactyl user, don't forget to do :source on the first Firefox run and then re-start."
fi