about summary refs log tree commit diff
path: root/getscriptures.sh
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2023-12-11 18:21:24 -0500
committerZach DeCook <zachdecook@librem.one>2023-12-11 18:21:24 -0500
commit6d8988b6c7349e08393f1d51e7b09ea5fef008fd (patch)
tree475248a8dab5ff80599db754035ebf0bc7f623da /getscriptures.sh
parent7e573fc75644b822cb6451a274d00d18caa015c4 (diff)
downloadcgi-bin-6d8988b6c7349e08393f1d51e7b09ea5fef008fd.tar.gz
bible: add tcgnt
Diffstat (limited to 'getscriptures.sh')
-rw-r--r--getscriptures.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/getscriptures.sh b/getscriptures.sh
index dcd38e3..1d0f843 100644
--- a/getscriptures.sh
+++ b/getscriptures.sh
@@ -5,6 +5,12 @@ getweb() {
 	unzip engwebp_usfm.zip -d webp
 	rm engwebp_usfm.zip
 }
+gettcgnt() {
+	wget https://ebible.org/Scriptures/grctcgnt_usfm.zip
+	mkdir -p tcgnt
+	unzip grctcgnt_usfm.zip -d tcgnt
+	rm grctcgnt_usfm.zip
+}
 getlsv() {
 	url="$(wget -O - https://www.lsvbible.com/p/get-lsv.html | grep Plain\ Text | grep -o 'https://[^"]*' | sed 's/amp;//g')"
 	wget -O lsv.zip "$url"
@@ -21,3 +27,4 @@ getbsb() {
 test -d webp || getweb
 test -f lsv.txt || getlsv
 test -d bsb || getbsb
+test -d tcgnt || gettcgnt