diff options
| author | eric_G <46165813+ericgaspar@users.noreply.github.com> | 2025-09-17 16:29:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 16:29:46 +0200 |
| commit | c2e28fb47626fca1b6fbd00796a94f5f290435d2 (patch) | |
| tree | feddac1f0e09ad08d62ac7f30cc552daa585629a /scripts/_common.sh | |
| parent | 018c0445962016d9dac1d181cea8102ba89c075e (diff) | |
| parent | b4b6e4d3b16a33a5de8d9b6b4fd37ab3cdc32da9 (diff) | |
| download | mastodon_ynh-c2e28fb47626fca1b6fbd00796a94f5f290435d2.tar.gz mastodon_ynh-c2e28fb47626fca1b6fbd00796a94f5f290435d2.tar.bz2 mastodon_ynh-c2e28fb47626fca1b6fbd00796a94f5f290435d2.zip | |
Merge pull request #520 from YunoHost-Apps/testing
Testing
Diffstat (limited to 'scripts/_common.sh')
| -rw-r--r-- | scripts/_common.sh | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh index e894197..9044c9c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,39 +1,9 @@ #!/bin/bash #================================================= -# COMMON VARIABLES +# COMMON VARIABLES AND CUSTOM HELPERS #================================================= memory_needed="2560" -ruby_version=3.4.5 -nodejs_version=20 - -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 - -#================================================= -# PERSONAL HELPERS -#================================================= - -#================================================= -# EXPERIMENTAL HELPERS -#================================================= - -#================================================= -# FUTURE OFFICIAL HELPERS -#================================================= +ruby_version="3.4.5" +nodejs_version="22" |
