2019-11-21 15:42:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This bash script automates the process of getting the original pdf2htmlEX
|
|
|
|
# source
|
|
|
|
|
2019-12-13 09:20:31 +00:00
|
|
|
PDF2HTMLEX_BRANCH=update-poppler
|
2019-11-21 15:42:49 +00:00
|
|
|
|
2019-11-29 09:11:32 +00:00
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo "GETTING pdf2htmlEX sources (using wget)"
|
|
|
|
echo " (PDF2HTMLEX_BRANCH: [$PDF2HTMLEX_BRANCH])"
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
2020-06-02 11:58:27 +00:00
|
|
|
set -ev
|
2019-11-29 09:11:32 +00:00
|
|
|
|
2019-11-28 09:07:49 +00:00
|
|
|
wget https://codeload.github.com/stephengaito/pdf2htmlEX/zip/$PDF2HTMLEX_BRANCH
|
2019-11-21 15:42:49 +00:00
|
|
|
|
2019-11-28 09:07:49 +00:00
|
|
|
mv $PDF2HTMLEX_BRANCH $PDF2HTMLEX_BRANCH.zip
|
2019-11-21 15:42:49 +00:00
|
|
|
|
2019-11-21 19:06:46 +00:00
|
|
|
sudo apt install unzip
|
2019-11-21 15:42:49 +00:00
|
|
|
|
2019-11-28 09:07:49 +00:00
|
|
|
unzip $PDF2HTMLEX_BRANCH.zip
|
2019-11-21 15:42:49 +00:00
|
|
|
|
2019-11-28 09:07:49 +00:00
|
|
|
mv pdf2htmlEX-$PDF2HTMLEX_BRANCH pdf2htmlEX
|