]> git.sev.monster Git - dotfiles.git/blobdiff - firefox/user-js-updater.sh
update git email and name
[dotfiles.git] / firefox / user-js-updater.sh
index 6e17577c67f63d4963fb4852ba6446b3cc80afe3..a7390d40a485347b51a5579f9e7f39f80bf86b34 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 mv user.js user.js.bak >/dev/null 2>&1
 ghacksjs="https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/user.js"
-if ! command -v curl; then
+if ! command -v curl >/dev/null; then
     # Based on busybox-compatible wget
     wget -q "$ghacksjs"
 else
@@ -9,3 +9,5 @@ else
 fi
 echo >> user.js
 cat user-overrides.js >> user.js
+echo Updated!
+diff user.js.bak user.js 2>/dev/null
This page took 0.029139 seconds and 4 git commands to generate.