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 <