Browse Source

Add installation script, untested

master
Daniel 1 week ago
parent
commit
eb7114d924
2 changed files with 19 additions and 0 deletions
  1. +0
    -0
     
  2. +19
    -0
      script/startup.sh

+ 0
- 0
View File


+ 19
- 0
script/startup.sh View File

@@ -0,0 +1,19 @@
#!/bin/bash

echo "Where would you like the heb12 data to be stored?"
echo "Plain dirs only, like '/home/daniel/.heb12'"
read input
cd $input

git clone https://code.heb12.com/heb12/heb12cli .

touch option.h
echo "char *defaultIndex = \"$input/bibles/web.i\";" > option.h
echo "char *defaultReference = \"Ps 139 14\";" > option.h

mkdir bibles
cd bibles
wget https://api.heb12.com/translations/biblec/web.i
wget https://api.heb12.com/translations/biblec/web.t
cd ..
cc biblec/biblec.c fbrp/fbrp.c app.c -o heb12

Loading…
Cancel
Save