]> git.sev.monster Git - dotfiles.git/blob - firefox/user-js-updater.sh
6e17577c67f63d4963fb4852ba6446b3cc80afe3
[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; 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
This page took 0.024753 seconds and 2 git commands to generate.