1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00
mastodon_ynh/scripts/_common.sh

33 lines
1.2 KiB
Bash
Raw Normal View History

2017-04-08 04:04:27 +02:00
#!/bin/bash
2019-03-18 04:22:38 +01:00
#=================================================
# COMMON VARIABLES
#=================================================
# dependencies used by the app
2020-03-18 02:26:17 +01:00
pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3|libgdbm6 libgdbm-dev redis-server redis-tools postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https"
2019-03-18 04:22:38 +01:00
2020-05-26 13:19:50 +02:00
MEMORY_NEEDED="2560"
2020-08-09 10:39:43 +02:00
if [ "$(lsb_release --codename --short)" = "buster" ]; then
RUBY_VERSION="2.6.6"
BUNDLER_VERSION="1.17.3"
NODEJS_VERSION="12"
else
RUBY_VERSION="2.6.5"
BUNDLER_VERSION="1.17.3"
NODEJS_VERSION="10"
fi
2019-03-18 04:22:38 +01:00
#=================================================
# PERSONAL HELPERS
#=================================================
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================