setup 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #!/bin/bash
  2. #
  3. # Get a default set of modules. Edit as desired.
  4. #
  5. dangeroption="--allow-internet-access-and-risk-tracing-and-jail-or-martyrdom"
  6. intro=
  7. intro()
  8. {
  9. echo ""
  10. echo "This script installs recommended basic Sword modules for use by"
  11. echo "the Bible emacs application."
  12. echo ""
  13. }
  14. warn()
  15. {
  16. echo ""
  17. echo "-=+* WARNING *+=- -=+* WARNING *+=-"
  18. echo ""
  19. echo ""
  20. echo "Although this setup script provides a convenient way for installing"
  21. echo "and upgrading SWORD components, it also uses a systematic method"
  22. echo "for accessing sites which gives packet sniffers a target to lock on"
  23. echo "to for singling out users."
  24. echo ""
  25. echo ""
  26. echo "IF YOU LIVE IN A COUNTRY WHERE YOU MAY BE PERSECUTED AND DO NOT WISH"
  27. echo "TO RISK DETECTION, YOU SHOULD *NOT* USE THIS SETUP SCRIPT!"
  28. }
  29. intro;
  30. warn;
  31. echo -n "Continue [y/N]? " >&2
  32. read answer
  33. if [ "$answer" != "y" ]; then
  34. exit 1
  35. fi
  36. echo -n "Updating remote sources...."
  37. installmgr $dangeroption -sc
  38. echo "done"
  39. echo -n "Installing Bible modules...."
  40. installmgr $dangeroption -r CrossWire
  41. installmgr $dangeroption -ri CrossWire KJV
  42. installmgr $dangeroption -ri CrossWire Byz
  43. installmgr $dangeroption -ri CrossWire MorphGNT
  44. installmgr $dangeroption -ri CrossWire SBLGNT
  45. installmgr $dangeroption -ri CrossWire SBLGNTApp
  46. installmgr $dangeroption -ri CrossWire WHNU
  47. installmgr $dangeroption -ri CrossWire OSHB
  48. installmgr $dangeroption -ri CrossWire OSHM
  49. installmgr $dangeroption -ri CrossWire LXX
  50. installmgr $dangeroption -ri CrossWire Robinson
  51. installmgr $dangeroption -ri CrossWire Packard
  52. installmgr $dangeroption -ri CrossWire AbbottSmithStrongs
  53. installmgr $dangeroption -ri CrossWire BDBGlosses_Strongs
  54. installmgr $dangeroption -ri CrossWire MLStrong
  55. installmgr $dangeroption -ri CrossWire VarApp
  56. installmgr $dangeroption -ri CrossWire TSK
  57. installmgr $dangeroption -ri CrossWire Clarke
  58. installmgr $dangeroption -ri CrossWire MHC
  59. installmgr $dangeroption -r "Lockman Foundation"
  60. installmgr $dangeroption -ri "Lockman Foundation" NASB
  61. installmgr $dangeroption -r Xiphos
  62. installmgr $dangeroption -ri Xiphos StrongsRealGreek
  63. installmgr $dangeroption -ri Xiphos StrongsRealHebrew
  64. installmgr $dangeroption -ri Xiphos NET
  65. installmgr $dangeroption -ri Xiphos NETnote