We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b6212 commit 7c9f0a3Copy full SHA for 7c9f0a3
debian/jellyfin-server.postinst
@@ -51,7 +51,10 @@ case "$1" in
51
done
52
53
# Install libjemalloc.so symlink into /usr/lib/jellyfin
54
- ln -sf $( ldconfig -p | grep libjemalloc | awk '{print $NF}' | head -n1 ) /usr/lib/jellyfin/libjemalloc.so
+ LIBJEMALLOC_PATH="$( ldconfig -p | grep libjemalloc | awk '{print $NF}' | head -n1 )"
55
+ if [[ -n ${LIBJEMALLOC_PATH} && -f ${LIBJEMALLOC_PATH} ]]; then
56
+ ln -sf ${LIBJEMALLOC_PATH} /usr/lib/jellyfin/libjemalloc.so
57
+ fi
58
59
# Install jellyfin symlink into /usr/bin
60
ln -sf /usr/lib/jellyfin/bin/jellyfin /usr/bin/jellyfin
0 commit comments