]> git.sev.monster Git - dotfiles.git/blame - firefox/user-js-updater.sh
link dabuild and dabuild-admin from docker-abuild
[dotfiles.git] / firefox / user-js-updater.sh
CommitLineData
f993e922 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"
82d21c3c 4if ! command -v curl >/dev/null; then
f993e922 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
f4a5f003 12echo Updated!
82d21c3c 13diff user.js.bak user.js 2>/dev/null
This page took 0.03807 seconds and 4 git commands to generate.