aboutsummaryrefslogtreecommitdiff
path: root/scripts/_common.sh
diff options
context:
space:
mode:
authoreric_G <46165813+ericgaspar@users.noreply.github.com>2025-09-01 13:58:37 +0200
committerGitHub <noreply@github.com>2025-09-01 13:58:37 +0200
commitfb1a1d63c17a23264c3ea1207e6b1ead0415984a (patch)
tree50fad3e6c05cfb27c2c3866200756283f1de6113 /scripts/_common.sh
parentedbf9871a19fd30634d86e7ff41d4f33b92521d4 (diff)
parentf5bf5ea6628be0fa889f8a4dda97dcb19a427ec7 (diff)
downloadmastodon_ynh-fb1a1d63c17a23264c3ea1207e6b1ead0415984a.tar.gz
mastodon_ynh-fb1a1d63c17a23264c3ea1207e6b1ead0415984a.tar.bz2
mastodon_ynh-fb1a1d63c17a23264c3ea1207e6b1ead0415984a.zip
Merge pull request #518 from YunoHost-Apps/ldpreload
LD_PRELOAD
Diffstat (limited to 'scripts/_common.sh')
-rw-r--r--scripts/_common.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh
index 089f541..9044c9c 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -7,21 +7,3 @@
memory_needed="2560"
ruby_version="3.4.5"
nodejs_version="22"
-
-case $YNH_ARCH in
- amd64)
- ld_preload="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so"
- ;;
- arm64)
- ld_preload="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so"
- ;;
- armhf)
- ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libjemalloc.so"
- ;;
- armel)
- ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabi/libjemalloc.so"
- ;;
- i386)
- ld_preload="LD_PRELOAD=/usr/lib/i386-linux-gnu/libjemalloc.so"
- ;;
-esac