Sha256: 14ab49130a9e31c516bc25263676d99c96719bde8ddde620f9d23e4ee87fc104

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

#!/bin/bash
find ~/.cabal/bin/pandoc 2>&1 >/dev/null && exit 0
# Not there; build it
mkdir /tmp/$$
pushd /tmp/$$
wget https://github.com/jgm/pandoc/archive/1.17.0.3.tar.gz
mv 1.17.0.3.tar.gz pandoc-1.17.0.3.tar.gz
tar zxf pandoc-1.17.0.3.tar.gz
rm pandoc-1.17.0.3.tar.gz
cabal update
cabal install --user pandoc regex-posix regex-compat
export PATH=~/.cabal/bin:$PATH
echo Leaving `pwd`
popd

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prolog-services-replace_content-0.1.3 bin/install-pandoc-from-cabal
prolog-services-replace_content-0.1.2 bin/install-pandoc-from-cabal