From e471f128ce912e395562c50cc16e4ced2eae883d Mon Sep 17 00:00:00 2001 From: nemsia Date: Thu, 10 Aug 2017 00:08:22 +0200 Subject: [PATCH] Add additional package for arm (#52) * Add additional package for arm upgrade --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f32252f..217ca34 100644 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,7 @@ ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt ynh_package_install redis-server redis-tools # Install postgresql -ynh_package_install postgresql postgresql-contrib +ynh_package_install postgresql postgresql-contrib postgresql-server-dev-9.4 # Install Ruby ynh_package_install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev diff --git a/scripts/upgrade b/scripts/upgrade index 99ae13f..6726f92 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,8 +64,8 @@ if [[ $node_version =~ ^v4.*$ ]]; then sudo apt-get -y install nodejs fi -# add additional package for release 1.4 -ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev +# add additional package for upgrade +ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev postgresql-server-dev-9.4 # Apply Mastodon upgrade sudo su - $app <