diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-15 15:53:40 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-18 13:38:30 +0100 |
commit | f81cb5161f91eb40af88e7f5a1871a10e632cdf2 (patch) | |
tree | 6f4a21bce20c89274cc54aa23b58fd9d46d0af01 /script/site-specific-install.sh | |
parent | d0df86d597ec95e7b6b7e32af0932563c4c1406f (diff) |
Use our own Launchpad Ubuntu repo to get pdftk
Diffstat (limited to 'script/site-specific-install.sh')
-rwxr-xr-x | script/site-specific-install.sh | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/script/site-specific-install.sh b/script/site-specific-install.sh index 92809cf85..c113b6efb 100755 --- a/script/site-specific-install.sh +++ b/script/site-specific-install.sh @@ -64,23 +64,28 @@ deb http://archive.ubuntu.com/ubuntu/ trusty universe deb-src http://archive.ubuntu.com/ubuntu/ trusty universe EOF - # Get bundler and pdftk from raring and de-prioritise all other - # raring packages + cat > /etc/apt/sources.list.d/mysociety-launchpad.list <<EOF +deb http://ppa.launchpad.net/mysociety/alaveteli/ubuntu precise main +deb-src http://ppa.launchpad.net/mysociety/alaveteli/ubuntu precise main +EOF + + # Get bundler from trusty and de-prioritise all other + # trusty packages cat >> /etc/apt/preferences <<EOF Package: ruby-bundler Pin: release n=trusty Pin-Priority: 990 -Package: pdftk -Pin: release n=squeeze -Pin-Priority: 990 - Package: * Pin: release n=trusty Pin-Priority: 50 EOF +# Get the key for the mysociety ubuntu alaveteli repo +apt-get install python-software-properties +add-apt-repository -y ppa:mysociety/alaveteli + apt-get -qq update fi |