]> git.sev.monster Git - dotfiles.git/blame - firefox/user-js-updater.sh
git alias compatibility with busybox xargs
[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
82d21c3c 12diff user.js.bak user.js 2>/dev/null
This page took 0.030342 seconds and 4 git commands to generate.