X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_eeepc.sh;h=1da21beffbbf5c2a842da8ffd6cd988c788edd51;hb=346e443b2107288ecbbbde876f0e2fae8ff6cb34;hp=4d1572cb53d26b962dd4a4d03e7c967cf81498b0;hpb=8368e48adc8c46e468e7d086a4024c527c8ed5e1;p=config
diff --git a/buster/setup_scripts/setup_eeepc.sh b/buster/setup_scripts/setup_eeepc.sh
index 4d1572c..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
@@ -37,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}"
@@ -49,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