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