X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f993e922ddfbd072cf4cd7300d74e98a6977d3f6..c9c531f22e5208efd40f4d9c625ae15a2797ecc6:/firefox/user-js-updater.sh diff --git a/firefox/user-js-updater.sh b/firefox/user-js-updater.sh index 6e17577..58594d4 100755 --- a/firefox/user-js-updater.sh +++ b/firefox/user-js-updater.sh @@ -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