From 74b428facc94bacb84920d5fcd13968ae7940c2d Mon Sep 17 00:00:00 2001 From: Kayou Date: Thu, 21 Feb 2019 00:36:05 +0100 Subject: [PATCH] using cpanminus --- scripts/install | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 6cfdcbe..873ec7e 100644 --- a/scripts/install +++ b/scripts/install @@ -75,9 +75,9 @@ ynh_app_setting_set $app hashed_password $hashed_password # INSTALL DEPENDENCIES #================================================= -ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql +ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql cpanminus # Install Carton -echo yes | cpan Carton +echo yes | cpanm Carton #================================================= # CREATE A POSTGRESQL DATABASE diff --git a/scripts/restore b/scripts/restore index d3ae975..c769cd3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -48,9 +48,9 @@ test ! -d $final_path \ #================================================= # Define and install dependencies -ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql +ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql cpanminus # Install Carton -echo yes | cpan Carton +echo yes | cpanm Carton #================================================= # RESTORE THE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 73810ca..0ca01a5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,7 +94,7 @@ fi # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql +ynh_install_app_dependencies build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql cpanminus ynh_setup_source "$final_path"