mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Update _common.sh
This commit is contained in:
parent
12e79d565d
commit
d74c74b703
1 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
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-tools redis-server postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https"
|
||||
build_pkg_dependencies=""
|
||||
|
||||
memory_needed="2560"
|
||||
memory_needed="2560" # maybe requirement depends on arch, armhf need less and is setted inside lsb_release switch
|
||||
ruby_version=3.0.3
|
||||
nodejs_version=16
|
||||
|
||||
|
@ -23,7 +23,8 @@ if [ "$(lsb_release --codename --short)" = "bullseye" ]; then
|
|||
ld_preload="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so"
|
||||
;;
|
||||
armhf)
|
||||
ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libjemalloc.so"
|
||||
ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libjemalloc.so";
|
||||
memory_needed="1500"
|
||||
;;
|
||||
armel)
|
||||
ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabi/libjemalloc.so"
|
||||
|
|
Loading…
Add table
Reference in a new issue