mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05:00
parent
2e56e777ce
commit
11de526bcf
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
|
||||
export LD_PRELOAD="$lib_path"
|
||||
|
||||
read_file_and_export() {
|
||||
if [ -n "${!1}" ]; then
|
||||
content="$(cat "${!1}")"
|
||||
|
|
Loading…
Add table
Reference in a new issue