Pastebin: 各種アプリケーション最新版ダウンロード・検証(端末から)

Formato
Shell
Post date
2019-07-29 17:46
Publication Period
Unlimited
  1. # Mozilla Firefox
  2. V=$(curl -L 'http://releases.mozilla.org/pub/firefox/releases/' -s |
  3. sed -n -e 's/.*<a[^>]*>\([[:digit:]][[:digit:].]*\)\/<\/a>.*/\1/1p' |
  4. sort -n -t '.' | tail -n 1)
  5. wget 'https://ftp.mozilla.org/pub/firefox/releases/'$V'/linux-'$(arch)'/ja/firefox-'$V'.tar.bz2'
  6. # GNU Icecat
  7. V=$(curl -L 'http://ftpmirror.gnu.org/gnu/gnuzilla/' -s |
  8. sed -n -e 's/.*<a[^>]*>\([[:digit:]][[:digit:].]*\)\/<\/a>.*/\1/1p' |
  9. sort -n -t '.' | tail -n 1)
  10. wget 'http://ftpmirror.gnu.org/gnu/gnuzilla/'$V'/icecat-'$V'.en-US.gnulinux-'$(arch)'.tar.bz2'
  11. wget 'http://ftpmirror.gnu.org/gnu/gnuzilla/'$V'/icecat-'$V'.en-US.gnulinux-'$(arch)'.tar.bz2.sig'
  12. wget 'http://ftpmirror.gnu.org/gnu/gnuzilla/'$V'/langpacks/icecat-'$V'.ja.langpack.xpi'
  13. wget 'http://ftpmirror.gnu.org/gnu/gnuzilla/'$V'/langpacks/icecat-'$V'.ja.langpack.xpi.sig'
  14. gpg --list-packets ./icecat-$V.en-US.gnulinux-$(arch).tar.bz2.sig
  15. gpg --keyserver 'keys.gnupg.net' --receive-keys {{KEY_ID}}
  16. gpg --verify ./icecat-$V.en-US.gnulinux-$(arch).tar.bz2.sig ./icecat-$V.en-US.gnulinux-$(arch).tar.bz2
  17. gpg --list-packets ./icecat-$V.ja.langpack.xpi.sig
  18. gpg --keyserver 'keys.gnupg.net' --receive-keys {{KEY_ID}}
  19. gpg --verify ./icecat-$V.ja.langpack.xpi.sig ./icecat-$V.ja.langpack.xpi
  20. # <about:config> “intl.locale.requested”←“ja”
Descargar Printable view

URL of this paste

Embed with JavaScript

Embed with iframe

Raw text