]> git.sev.monster Git - dotfiles.git/blobdiff - firefox/user-js-updater.sh
git alias compatibility with busybox xargs
[dotfiles.git] / firefox / user-js-updater.sh
index 6e17577c67f63d4963fb4852ba6446b3cc80afe3..58594d4e797fc3e29660a6094ee58c56ce666bc8 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,4 @@ else
 fi
 echo >> user.js
 cat user-overrides.js >> user.js
+diff user.js.bak user.js 2>/dev/null
This page took 0.035745 seconds and 4 git commands to generate.