home · contact · privacy
Fix further shell script weirdness (where do these come from?)
[config] / buster / setup_scripts / setup_eeepc.sh
index 47b05d0085e80bc025a1c22b00b6c09eed87cd62..7b0323e80cf749ddfb02a63982c038cf5dff68e5 100755 (executable)
@@ -35,9 +35,9 @@ url_noscript="https://secure.informaction.com/download/releases/${noscript_xpi}"
 wget "${url_noscript}"
 name=$(unzip -p "${noscript_xpi}" manifest.json | jq -r .applications.gecko.id)
 mv "${noscript_xpi}" "${name}.xpi"
-wget "${url_tridactyl}"
 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}"
@@ -50,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