X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/fab483dd02670f3c8ac23c7ab274a8ddc1d6a6be..5c97f2036dcd89001c9b70d15c7daacad705b845:/firefox/user-js-updater.sh?ds=sidebyside 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