mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Upgrade to 2.5.0
This commit is contained in:
parent
a05de14f3f
commit
2d1465e29b
6 changed files with 11 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
# Mastodon for YunoHost
|
||||
|
||||
[](https://github.com/YunoHost-Apps/mastodon_ynh/releases)
|
||||
[](https://github.com/YunoHost-Apps/mastodon_ynh/releases)
|
||||
[](https://github.com/YunoHost-Apps/mastodon_ynh/milestones)
|
||||
[](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies)
|
||||
[](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/tootsuite/mastodon/archive/v2.4.5.tar.gz
|
||||
SOURCE_SUM=9e8cf6a808c9c34b6b609e8acc86b91a02227580b61221d96a4b78560fcc592c
|
||||
SOURCE_URL=https://github.com/tootsuite/mastodon/archive/v2.5.0.tar.gz
|
||||
SOURCE_SUM=0b36693058647ab50fff7f1c0c678f0f2b2997908c542c488386e8e16beced74
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"en": "Mastodon is a free, open-source social network.",
|
||||
"fr": "Mastodon est un réseau social gratuit et open source."
|
||||
},
|
||||
"version": "2.4.5",
|
||||
"version": "2.5.0",
|
||||
"url": "https://github.com/tootsuite/mastodon",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
|
|
|
@ -94,7 +94,7 @@ ynh_app_setting_set "$app" final_path "$final_path"
|
|||
# TODO: use https://github.com/YunoHost-Apps/Experimental_helpers/blob/master/ynh_install_nodejs/ynh_install_nodejs
|
||||
(
|
||||
cd /opt
|
||||
curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||
apt-get -y install nodejs
|
||||
)
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ ynh_package_update
|
|||
# TODO: use https://github.com/YunoHost-Apps/Experimental_helpers/blob/master/ynh_install_nodejs/ynh_install_nodejs
|
||||
(
|
||||
cd /opt
|
||||
curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||
apt-get -y install nodejs
|
||||
)
|
||||
|
||||
|
|
|
@ -86,14 +86,12 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.lis
|
|||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
# upgrade Node.js v4 to v6
|
||||
# upgrade Node.js to v8
|
||||
# TODO: use https://github.com/YunoHost-Apps/Experimental_helpers/blob/master/ynh_install_nodejs/ynh_install_nodejs
|
||||
node_version=$(nodejs --version)
|
||||
if [[ $node_version =~ ^v4.*$ ]]; then
|
||||
pushd /opt
|
||||
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
|
||||
sudo apt-get -y install nodejs
|
||||
fi
|
||||
pushd /opt
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
|
||||
sudo apt-get -y install nodejs
|
||||
popd
|
||||
|
||||
# add additional package for upgrade
|
||||
ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev postgresql-server-dev-all
|
||||
|
|
Loading…
Add table
Reference in a new issue