Skip to content

Commit cae002d

Browse files
authored
Merge pull request #774 from linuxserver/libnss3
2 parents ecfd765 + 72b19f5 commit cae002d

File tree

1 file changed

+20
-0
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-universal-calibre-add-package

1 file changed

+20
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-universal-calibre-add-package/run

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,30 @@ if [ ! -L /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 ]; then
4949
PACKAGES="libxkbcommon0 ${PACKAGES}"
5050
fi
5151

52+
if [ ! -L /usr/lib/x86_64-linux-gnu/libnss3.so ]; then
53+
PACKAGES="libnss3 ${PACKAGES}"
54+
fi
55+
5256
if [ ! -L /usr/lib/x86_64-linux-gnu/libOpenGL.so.0 ]; then
5357
PACKAGES="libopengl0 ${PACKAGES}"
5458
fi
5559

60+
if [ ! -L /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 ]; then
61+
PACKAGES="libxcomposite1 ${PACKAGES}"
62+
fi
63+
64+
if [ ! -L /usr/lib/x86_64-linux-gnu/libxkbfile.so.1 ]; then
65+
PACKAGES="libxkbfile1 ${PACKAGES}"
66+
fi
67+
68+
if [ ! -L /usr/lib/x86_64-linux-gnu/libXrandr.so.2 ]; then
69+
PACKAGES="libxrandr2 ${PACKAGES}"
70+
fi
71+
72+
if [ ! -L /usr/lib/x86_64-linux-gnu/libXtst.so.6 ]; then
73+
PACKAGES="libxtst6 ${PACKAGES}"
74+
fi
75+
5676
if [ -n "${PACKAGES}" ]; then
5777
echo "${PACKAGES}" >> /mod-repo-packages-to-install.list
5878
echo "**** Adding calibre dependencies to package install list ****"

0 commit comments

Comments
 (0)