Skip to content

Commit 83b5bf0

Browse files
authored
Merge pull request #745 from JeWe37/jellyfin-rffmpeg
Correctly install pip packages via pip
2 parents 6dcbbae + 27ea058 commit 83b5bf0

File tree

1 file changed

+3
-2
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-jellyfin-rffmpeg-add-package

1 file changed

+3
-2
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-jellyfin-rffmpeg-add-package/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Ubuntu
44
if [ -f /usr/bin/apt ]; then
5-
for package in iputils-ping openssh-client python3-click python3-yaml python3 wakeonlan; do
5+
for package in iputils-ping openssh-client wakeonlan; do
66
if ! dpkg -s "${package}" >/dev/null 2>&1; then
77
PACKAGES="${package} ${PACKAGES}"
88
fi
@@ -13,7 +13,7 @@ if [ -f /sbin/apk ]; then
1313
if ! grep -qxF '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' /etc/apk/repositories; then
1414
echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
1515
fi
16-
for package in openssh py3-click py3-yaml python3 wol@testing; do
16+
for package in openssh wol@testing; do
1717
if ! apk info -e "${package}" >/dev/null 2>&1; then
1818
PACKAGES="${package} ${PACKAGES}"
1919
fi
@@ -22,6 +22,7 @@ fi
2222

2323
if [ -n "${PACKAGES}" ]; then
2424
echo "${PACKAGES}" >> /mod-repo-packages-to-install.list
25+
echo click pyyaml >> /mod-pip-packages-to-install.list
2526
echo "**** Adding rffmpeg dependencies to package install list ****"
2627
else
2728
echo "**** rffmpeg dependencies already installed, skipping ****"

0 commit comments

Comments
 (0)