aboutsummaryrefslogtreecommitdiff
path: root/scripts/_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/_common.sh')
-rw-r--r--scripts/_common.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh
index 089f541..7ac14ba 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -5,23 +5,5 @@
#=================================================
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
+ruby_version=3.4.5
+nodejs_version=20