]>
Commit | Line | Data |
---|---|---|
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 |