mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
[fix] add additional package for release
This commit is contained in:
parent
3439592f1b
commit
d61e0e1197
1 changed files with 10 additions and 5 deletions
|
@ -55,11 +55,16 @@ pushd ~/live
|
||||||
git checkout $(git tag | tail -n 1)
|
git checkout $(git tag | tail -n 1)
|
||||||
SWITCHCOMMANDS
|
SWITCHCOMMANDS
|
||||||
|
|
||||||
# Upgrade Node.js
|
# upgrade Node.js v4 to v6
|
||||||
pushd /opt
|
node_version=$(nodejs --version)
|
||||||
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
|
if [[ $node_version =~ ^v4.*$ ]]; then
|
||||||
sudo apt-get install -y nodejs
|
pushd /opt
|
||||||
popd
|
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
|
||||||
|
sudo apt-get -y install nodejs
|
||||||
|
fi
|
||||||
|
|
||||||
|
# add additional package for release 1.4
|
||||||
|
ynh_package_install pkg-config libprotobuf-dev protobuf-compiler
|
||||||
|
|
||||||
# Apply Mastodon upgrade
|
# Apply Mastodon upgrade
|
||||||
sudo su - $app <<COMMANDS
|
sudo su - $app <<COMMANDS
|
||||||
|
|
Loading…
Add table
Reference in a new issue