From 13cad968d88c7fbe519e4ce232844eb62424a478 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 21 May 2017 15:05:54 +0200 Subject: [fix] add additional package for release 1.4 #30 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index 0c71505..8772b18 100644 --- a/scripts/install +++ b/scripts/install @@ -41,7 +41,7 @@ ynh_app_setting_set $app language $language sudo adduser $app --home /opt/$app --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --disabled-login # Install debian package -ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt-transport-https +ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt-transport-https pkg-config libprotobuf-dev protobuf-compiler # Install redis package ynh_package_install redis-server redis-tools -- cgit v1.2.3-70-g09d2 From a074e13ef5da22c5880d31e37c7793d6c6c42b04 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 21 May 2017 15:17:07 +0200 Subject: [fix] update node version to 6 #29 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index 8772b18..ebe4569 100644 --- a/scripts/install +++ b/scripts/install @@ -66,7 +66,7 @@ ynh_app_setting_set $app final_path $final_path # Install de Node.js pushd /opt -curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - +curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - sudo apt-get -y install nodejs # Install Yarn -- cgit v1.2.3-70-g09d2 From e52a9dcb50bc05549d73f2b7c030c6fbf22604a5 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 21 May 2017 17:48:52 +0200 Subject: [fix] Install lastest release --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index ebe4569..1634c52 100644 --- a/scripts/install +++ b/scripts/install @@ -95,9 +95,11 @@ CLONECOMMANDS # Switch branch to tagged release cd $final_path/live +url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | sort -r | head -1 | cut -d\" -f4) +version=$(echo $url | cut -d/ -f8) sudo su - $app <