1
0
Fork 0
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:
rosbeef andino 2022-12-07 00:19:57 +00:00 committed by GitHub
parent 12e79d565d
commit d74c74b703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" 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="" 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 ruby_version=3.0.3
nodejs_version=16 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" ld_preload="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so"
;; ;;
armhf) 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) armel)
ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabi/libjemalloc.so" ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabi/libjemalloc.so"