From 5f0eb6c8a730623cc82937c90b0d0f2949255f58 Mon Sep 17 00:00:00 2001 From: Bryan Date: Sat, 28 Dec 2013 23:45:29 -0500 Subject: [PATCH] pdf2htmlex installation fixed, fixed minor problem when e.g. grub needs update --- README.md | 2 +- Vagrantfile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa859a9..d1c080f 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ not generally be needed. libmemcached-dev python-dev rabbitmq-server sudo add-apt-repository ppa:coolwanglu/pdf2htmlex - sudo apt-get install fontforge poppler pdf2htmlex + sudo apt-get install pdf2htmlex 1. Generate a PostgreSQL database and a role with read/write permissions. * For Debian, these instructions are helpful: https://wiki.debian.org/PostgreSql diff --git a/Vagrantfile b/Vagrantfile index c77b866..7a784dc 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -38,14 +38,16 @@ Host 127.0.0.1 EOF chmod 644 /home/vagrant/.ssh/config -add-apt-repository ppa:coolwanglu/pdf2htmlex # fontforge poppler pdf2htmlex +export DEBIAN_FRONTEND=noninteractive + +add-apt-repository -y ppa:coolwanglu/pdf2htmlex # pdf2htmlex apt-get update apt-get upgrade -y apt-get install -y python-pip postgresql python-virtualenv virtualenvwrapper \ git nginx postgresql-server-dev-9.1 libxslt1-dev \ libxml2-dev libmemcached-dev python-dev rabbitmq-server \ - p7zip-full fontforge poppler pdf2htmlex + p7zip-full pdf2htmlex echo "CREATE USER vagrant WITH CREATEROLE LOGIN; CREATE DATABASE karmaworld OWNER vagrant;" | su postgres -c "psql" -- 2.25.1