setup 1.5 KB

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