]> git.sev.monster Git - dotfiles.git/blob - firefox/user-js-updater.sh
58594d4e797fc3e29660a6094ee58c56ce666bc8
[dotfiles.git] / firefox / user-js-updater.sh
1 #!/bin/sh
2 mv user.js user.js.bak >/dev/null 2>&1
3 ghacksjs="https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/user.js"
4 if ! command -v curl >/dev/null; then
5     # Based on busybox-compatible wget
6     wget -q "$ghacksjs"
7 else
8     curl -sSO "$ghacksjs"
9 fi
10 echo >> user.js
11 cat user-overrides.js >> user.js
12 diff user.js.bak user.js 2>/dev/null
This page took 0.027501 seconds and 2 git commands to generate.